Posts

Showing posts from March, 2013

Powershell CSV Log -

Powershell CSV Log - i want develope script log size of folders in given directory, name's, , date when logged. want script export in next csv format: date;a;b;c;durga;new folder;new folder (2) 0125-1416;0.00;0.05;1;1; 0.00 0125-1417;0.00;0.05;0.00;0.00 0125-1419;0.00;0.05;0.00;0.00;20;30 finally, want script intelligent plenty determine, based off of log file, there have been folders either added or removed. if root directory, c:\scripts has folders a, b, , c. want script know if delete or add together d next time runs , business relationship in csv file. the script ran every (daily?) , append new row ever increasing in size csv file called 'log.txt'. so far, have code recurses through folders , sums individual sizes, saves name of parent folder, it's size, , date , wedges info new object tossed array index. i'm lost when trying bunch of similarrly formatted objects desired csv output. there's got improve approach getting csv file out of th...

php - select inner join 4 tables -

php - select inner join 4 tables - so want specific info table number 4 interconnected other 3 table user take $faid , print info needed table 1 (dbo.faid) faid(pk) pcid(fk) userid(fk) table 2 (dbo.users) userid(pk) employeename table 3(dbo.subdepttransfer) transferid(pk) userid(fk) subdeptid(fk) table 4 (subdept) subdeptid(pk) deptid(fk) table 5(department) deptid(pk) section <?php $faidf=$_post['faidf']; ini_set("display_errors","on"); $conn = new com("adodb.connection"); seek { $myserver = "wtcphfilesrv\wtcphinv"; $myuser = "sa"; $mypass = "p@ssw0rd"; $mydb = "wtcphitinventory"; $connstr = "provider=sqloledb;server=".$myserver.";uid=".$myuser.";pwd=".$mypass.";database=".$mydb; $conn->open($connstr); if (! $conn) { throw new exception("could not connect!"); } } ...

android - Do I need Google Play Licensing? -

android - Do I need Google Play Licensing? - i have app want market on google play. want charge fixed cost app. i'm used marketing apps on windows phone marketplace user has pay app - no "licensing" necessary because user can't app without paying it. i read material google play licensing , seems imply unless utilize lvl, users can ahold of app free. right? on other hand, if google play won't allow them have app without paying, why need utilize licensing? as the docs say, to verify current user did in fact pay application on google play this combat piracy. google play won't give them app without paying, might obtain app source without paying , install manually. provides runtime check. android android-lvl

pdf/reader won't open file from url through rails runner -

pdf/reader won't open file from url through rails runner - i new ruby , rails in general, i'm sorry stupid questions in advance. i've written method parsing info pdf. i've had done in ruby , worked ok. need set in rails app. created method in model , want phone call using rails runner. here model: # encoding: utf-8 require 'rubygems' require 'date' require 'open-uri' class menurestaurants < activerecord::base attr_accessible :date, :menu, :restaurant belongs_to :menu belongs_to :restaurant def self.fetch_academic_menu # pdf url io = open('http://www.skm.muni.cz/stravovani/texty/jidelnicek-ar-aktualni.cz.pdf') reader = pdf::reader.new(io) #reader = pdf::reader.file("jidelnicek-ar-aktualni.cz.pdf") reader.pages.each |page| #... end end end but calling "rails runner menurestaurants.fetch_academic_menu" runner.rb:53:in `eval': wrong number of argume...

Automatic code generation from a C# class to JavaScript equivalent -

Automatic code generation from a C# class to JavaScript equivalent - i'd expose class i've written in c# downwards javascript equivalent. for illustration have class like: // c# class represent appriaser public class appraiser { public appraiser(appraiserid, appraisername) { appraiserid = appraiserid; appraisername = appraisername; } public int appraiserid { get; set; } public string appraisername { get; set; } } and ability automatically generate version of class in javascript // javascript class represent appraiser function appraiser(appraiserid, appraisername) { var self = this; self.appraiserid= appraiserid; self.appraisername= appraisername; } is possible json.net or method? i know i'm necro'ing old question, there's few options these days. there's class knockout generator visual studio create knockout viewmodels you. also, if typescript - using web essentials "generate ...

css - Using em for navigation sidebar - what unit to use for remaining body container? -

css - Using em for navigation sidebar - what unit to use for remaining body container? - i have webpage sidebar has navigation options site. sidebar width of 6em (right: 0px, height: 100%, position: fixed). i want rest of content utilize of remainder of page (100% of total width, minus 7em). right now, i'm using percent on main content - there smarter/better way? thanks sure, maintain 100% width on remaining page , add together padding-left: 7em; (your remaining page should placed within containing div) css css3

java - Socket reuse with HttpURLConnection in android -

java - Socket reuse with HttpURLConnection in android - i want re-use sockets created httpurlconnection. figured out creates new sockets when investigate raw packets incoming/outgoing from/to remote web server. next code access remote web server. public string getfromserver() throws ioexception { url url = new url("http://192.168.137.2/test.jsp"); httpurlconnection http = (httpurlconnection)url.openconnection(); http.setrequestproperty("content-type", "application/x-www-form-urlencoded;charset=utf8"); http.setrequestproperty("connection", "keep-alive"); http.setusecaches(true); http.setfixedlengthstreamingmode(0); http.connect(); inputstream = http.getinputstream(); bufferedreader in = new bufferedreader(new inputstreamreader(is)); int c; stringbuffer buffer =new stringbuffer(); while((c=in.read())!=-1) { buffer.append((char)c); } log.i("hv",...

html - Anchor image and text height not correct -

html - Anchor image and text height not correct - i trying create tab internal text , image link. problem facing anchor dimensions and/or positioning seem different image. can see in jsfiddle link, there spacing between bottom of image , bottom of div , can't figure out why there. jsfiddle link if can't access link, html code: <div id="sapdatabtn"> <a href="#"> <img runat="server" src="http://i.cubeupload.com/tm2tpf.png" /> </a> <a href="#" id="sapbtntext"> info </a> </div> css: #sapdatabtn { background-color: #c7ddf2; text-align: center; border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; padding-left: 15px; padding-right: 15px; width: 90px; } #sapdatabtn a:link, #sapdatabtn a:visited, #sapdatabtn a:hover, #sapdatabtn a:active { font-size: 15px; font-weight: bold; color: #19456e; text-de...

c++ - How to detect the presence and type of a member variable given its name? -

c++ - How to detect the presence and type of a member variable given its name? - i know how write class can observe @ compile time if given class t has fellow member given name given type type, e.g. #include <type_traits> template <typename t, typename type, bool = std::is_class<t>::value> struct has_member_foo { private: template <type t::*> struct helper; template <typename u> static std::false_type test(...); template <typename u> static std::true_type test(helper<&u::foo> *); typedef decltype(test<t>(nullptr)) testresult; public: static const bool value = testresult::value; }; template <typename t, typename type> struct has_member_foo<t, type, false> : std::false_type { }; struct has_foo { int foo; }; struct has_no_foo { int bar; }; void test() { static_assert(has_member_foo<has_foo, int>::value == true, ":("); static_assert(has_member_foo<has_no_foo, int>::...

php - Javascript function returning just 1 value instead of an array of values -

php - Javascript function returning just 1 value instead of an array of values - i trying find out page loading time using iframes. have array of urls, set array of iframes, , loadtime of each iframe using javascript. problem - time values not array, shows 1 value (it shows value of 1st frame sec later replaces value of 2nd frame on top of it). <html> <body> <center> <?php $url = array('example.com', 'example2.com'); foreach($url $i){ ?> <iframe onload="pageloadingtime();" width="505" height="505" scrolling="no" security="restricted" src="<?php echo "http://www.".$i; ?> "></iframe> <?php } ?> <div id="loadingtime"></div> </center> </body> <script type="text/javascript"> beforeload = (new date()).gettime(); function page...

php - Jquery slider panel flickers -

php - Jquery slider panel flickers - as working on jquery slider panel menu , have implemented unusual issue persists when clicks jquery slider menu down. illustration check link (http://www.stickreloaded.com/demogame/simple-slide-panel.html#) see below code: regards, phphunger. <!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>simple slide panel</title> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(".btn-slide").click(function(){ $("#panel").slidetoggle("slow"); $(this).toggleclas...

performance - Why the data transfer is slow from GPU to CPU? -

performance - Why the data transfer is slow from GPU to CPU? - today have figured out made me wondering. have samsung exynos 4412 arm9 cpu has gpu400(quadcore). tried texture gpu cpu known methods , slow. same scenario , slow speed happens in modern cpus , gpus in pc platform. wondering how happens , samsung exynos soc , both of them has same memory , should not care bus. why happens ? the info gpu cpu transferred many methods have tried glreadpixels, gltexsubimage2d, glteximage2d, fbo. frame rate drops 40fps 7fps or 7fps while using of methods, on texture 1024*1024 24bits. possible answers taken opengl forums: latency: takes time read command reach hardware. opengl command buffering: reading info requires opengl driver finish outstanding commands. hardware buffering: hardware must empty gpu core pipelines before doing readback. possible solution: - re-create info internally on gpu location , read number of frames after computing it. should allow writing l...

c# - Custom Configuration Section - Remove unwanted collection tags -

c# - Custom Configuration Section - Remove unwanted collection tags - i have created own set of classes custom nested configuration collection in app.config. below can see current configuration must use. want know how can modify classes don't need autosyncconfiguration , watchedfolders elements. i'd resulting configuration section this: <custom> <backuplocation name="s3" details="accesskey=asdf;secretkey=asdf;bucketname=asdf"> <watchedfolder name="test1" localfolder="c" remotefolder="z" filespec="*"></watchedfolder> <watchedfolder name="test2" localfolder="d" remotefolder="x" filespec="*.doc"></watchedfolder> </backuplocation> <backuplocation name="external" details="mappeddrive=x;"> <watchedfolder name="test" localfolder="d" remotefolder="xphotos" filesp...

objective c - Drawing into a loaded UIImage in iOS -

objective c - Drawing into a loaded UIImage in iOS - i have couple of questions. i have loaded uiimage , to: 1st - draw image onto loaded uiimage 2nd - draw line (with color , thickness) onto loaded uiimage i appreciate if come basic stuff, i'm still noob :) there's alternative , comes using core-graphics. uigraphicsbeginimagecontextwithoptions(size, no, 0.0); cgcontextref context = uigraphicsgetcurrentcontext(); cgcontextsavegstate(context); uiimage *bottomimage = ...; cgrect bottomimagerect = ...; cgcontextscalectm(context, 1.0, -1.0); cgcontexttranslatectm(context, 0, -bottomimagerect.size.height); cgcontextdrawimage(context, bottomimagerect, bottomimage.cgimage); cgcontextrestoregstate(context); cgcontextsavegstate(context); uiimage *topimage = ...; cgrect topimagerect = ...; cgcontextscalectm(context, 1.0, -1.0); cgcontexttranslatectm(context, 0, -topimagerect.size.height); cgcontextdrawimage(context, topimagerect, topimage.cgimage); cgcontextresto...

view - How to rotate the image using sensor manager azimuth value in android? -

view - How to rotate the image using sensor manager azimuth value in android? - public void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); //accel sensormanager = (sensormanager) getsystemservice(sensor_service); sensor = sensormanager.getdefaultsensor(sensor.type_orientation); setcontentview(r.layout.sample); } ///////////////// basics /** * called when application in background */ public void onpause() { super.onpause(); sensormanager.unregisterlistener(this); //this of import because android applications //do not close, in background //so resources hogged otherwise } /** * called when application started * or in foreground 1 time again */ public void onresume() { super.onresume(); sensormanager.registerlistener(this, sensor, rate); } //==================accel============...

JQuery $.ajax post not always sent in firefox (works in chrome) -

JQuery $.ajax post not always sent in firefox (works in chrome) - i have simple html 5 application sends ajax post requests using jquery. works fine in chrome depending phone call function makes ajax post sent or not (verified using wireshark) in firefox. firebug nowadays failed post has exact same content of successful post. what's little maddening fail event gives me status text of "error", no exception , jqxhr object has status of "error". not helpful. the post coded follows: $.ajax({ url : "srv/reports.php", type : "post", contenttype : "text/html", cache : false, datatype : "text", data: json.stringify(postdata), success : function(data){ ... }}).fail(...); this phone call retrieves rows of data. method makes phone call called when user first navigates page, if button clicked (both of these sent , succeed) or when, after double-clicking ...

audio - Java get decibel from Microphone -

audio - Java get decibel from Microphone - this question has reply here: microphone level in java 2 answers i know there questions part of answer. i want current decibels "recorded" microphone. got far have opened targetdataline read method returns confusing bytes :/ could tell me how can read decibels? if interested in measuring, example, db spl, not possible, @ to the lowest degree not in sense mean. here 1 of several answers using computer mike measure absolute sound intensity: how can calculate sound db level? if confused bytes mean , interested in, example, measuring alter in volume/sound intensity/something on time, doable, it's different question. there many questions how interpret raw info comes out of javasound , other sound apis here on so, improve source tutorial. 1 place start of examples , tutorials on @ java sound resource...

mysql - show null records in group_concat -

mysql - show null records in group_concat - this question has reply here: include null results in group_concat 2 answers i have 2 tables this profile_answers +---------+------------+ | id | class_name | +---------+------------+ | 1 | class 1 | | 2 | class 2 | | 3 | class 1 | +---------+------------+ educations +---------+--------------------+------------+ | id | profile_answers_id | sample | +---------+--------------------+------------+ | 1 | 1 | 1234 | | 2 | 1 | 2334 | | 3 | 1 | 3434 | +---------+------------+--------------------+ i ran query, select educations.profile_answer_id, group_concat(educations.sample) educations left bring together profile_answers on educations.profile_answers_id = profile_answers.id i got +--...

javascript - Can not fire ajax on dom ready in IE9 -

javascript - Can not fire ajax on dom ready in IE9 - i have code supposed executed on dom ready without click or other actions.below code: if($.browser.msie){ console.log("using getjson"); $.getjson(baseurl,function(){ alert('hi'); }); }else{ settimeout(function(){ $.get(baseurl, function(data){ var boardnames = data; (i = 0; < boardnames.length; i++) { $('.boardselectmulti').append('<option value="' + boardnames[i].board + '">' + boardnames[i].text + '</option>'); } console.log("done"); $("#boardlinksi").hide(); $(".boardselectmulti").val(form_data.showmode); $(".boardselectmulti").show(); }, "json"); },5000); } } in other browsers works f...

c++ - Copy constructor for a stack using linked list -

c++ - Copy constructor for a stack using linked list - template <class t> stack<t>::stack(const stack<t>& otherstack) { list<t> the=otherstack.list; listitem<t> *temp=the.gethead(); while(temp!=null) { push(temp->value); temp=temp->next; } } i using linked list create stack , re-create constructor not working. please help. the re-create constructor of list<t> defined as: template <class t> list<t>::list(const list<t>& otherlist) { head=null; listitem<t> *temp=otherlist.head; while (temp!=null) { insertattail(temp->value); temp=temp->next; } } if list , stack have usual semantics, constructor reverses order of items in constructed object. should either traverse list in reverse order or such re-create twice restore original order. possible list can copied assignment operat...

Should SQLite queries be in Async Task Android -

Should SQLite queries be in Async Task Android - i going implementing abstractsyncadapter application means of creating business relationship user using business relationship authentication. means of rest method calls set sync service completed. question in relation should of contentprovider calls done separate thread async task? or should create separate class extends async task? want know best practice applications purposes. if has examples of implementation syncadapter awesome, although seems unlikely, because have looked everywhere. thanks advice have! android android-asynctask android-contentprovider android-syncadapter

c++ - column vector with row means -- with std::accumulate? -

c++ - column vector with row means -- with std::accumulate? - in effort lazy possible read in matrix vector< vector<double> > info ( rows, vector<double> ( columns ) ); and seek utilize many stl goodies can. one thing need next compute row means. in c-style programming be vector<double> rowmeans( data.size() ); ( int i=0; i<data.size(); i++ ) ( int j=0; j<data[i].size(); j++ ) rowmeans[i] += data[i][j]/data[i].size(); in in c++, how compute mean of vector of integers using vector view , gsl_stats_mean? explained vector of numbers can compute vector mean in 1 line without calling size() operator @ every step: double mean = std::accumulate(stl_v.begin(), stl_v.end(), 0.0) / stl_v.size(); is possible utilize these iterators on vector of vectors? intermediate form vector<double> rowmeans( rows ); ( int i=0; i<data.size(); i++ ) rowmeans[i] = std::accumulate(data[i].begin(), data[i].end(), 0.0) /...

Sml parsing a csv file? -

Sml parsing a csv file? - this question has reply here: output truncated #-signs in repl 1 reply these functions have defined (the other functions used within tested , work fine): qstring : accepts string not contain double quote character ("). val qstring : string parser = (many (sat (fn c => not (c = #"\"")))) >>= (fn cs => homecoming (string.implode cs)) sepby : parser takes parser takes 2 parsers inputs; first 1 matches separator, , sec 1 matches content. val sepby1 = fn s => fn p => p >>= (fn v1 => many (s >>= (fn _ => p >>= (fn v2 => homecoming v2))) >>= (fn v2 => homecoming (v1::v2))) val sepby = fn s => fn p => (sepby1 s p) +++ (return []) val csvline : record parser = sepby1 (ch #",...

tomcat - How to properly write a python cgi script that receives json data? -

tomcat - How to properly write a python cgi script that receives json data? - my current test python script like: #!/usr/bin/env python import sys info = sys.stdin.read() myjson = json.loads(data) the problem if worked in case, on others seems block, @ read(). for other reasons forced utilize tomcat cgi scripts, not sure if matters anyway. you'll need check content length before reading , limit number of byte read sys.stdin.read() . see cgi.parse_header() . update: your incoming info comes through environment populated web server. accessible in os.environ . import os cgi import parse_header os.environ['content-type'] = 'text/html; charset=utf-8' parse_header(os.environ['content-type']) # returns ('text/html', {'charset': 'utf-8'}) so in cgi script need (roughly): import os, cgi, sys cl, _ = parse_header(os.environ['content-length']) info = sys.stdin.read(int(cl)) python tomcat cgi...

javascript - Dojo: building custom configuration -

javascript - Dojo: building custom configuration - i trying build custom dojo configuration. have admit did not understand official documentation. this tutorial has been helpful far, though. here file-structure: dojo-release-1.8.3-src (untouched dojo 1.8.3 sourcecode) mycompany app (my source files incl. html, js, css-files , compiled dojo files) mycompany.profile.js package.json release // build files should go here release.profile.js here can see how execute build script , think error happens on line 10 http://pastebin.com/embed_js.php?i=xrxiuwf2 content of of import files: release.profile.js var profile = { basepath: "./", releasedir: "./release", packages:[ { name: "dojo", location: "./dojo-release-1.8.3-src/dojo" }, { name: "dijit", location: "./dojo-release-1.8.3-src/dijit" }, { name...

C# - Why is the execution of these different codes giving me the same result? -

C# - Why is the execution of these different codes giving me the same result? - my first code executes , after create move, computer tries bottom right-hand spot of tic tac toe board: private void computersturn() { control.controlcollection coll = this.controls; foreach (control c in coll)//for each button in form { if ((c != null) && (c button))//if c button , c has value { if ((c.name != "btnnewgame") && (c.name != "btnexit")) // if button isnt btn new game or exit { if (c.enabled == true) //if button has x { c.text = "o"; //place o c.enabled = false; //in empty button checkcomputerwinner(); //check if wins return; //return result }//end of if }//end of if 2 }//end o...

dojo - How to make and display a form in a Dijit Dialog programmatically? -

dojo - How to make and display a form in a Dijit Dialog programmatically? - i've been trying figure out how create , display form within of dialog using dojo 1.7. i want dialog this: all samples have seen using markup, none using amd when create dialog, can utilize widget (e.g. form) content. so, example, do: class="lang-javascript prettyprint-override"> require([ "dijit/dialog", "dijit/form/form", "dijit/form/textbox", "dijit/form/button", "dojo/domready!" ], function(dialog, form, textbox, button) { var form = new form(); new textbox({ placeholder: "name" }).placeat(form.containernode); new button({ label: "ok" }).placeat(form.containernode); var dia = new dialog({ content: form, title: "dialog form", style: "width: 300px; height: 300px;" }); form.startup();...

math - Projection theory? (Implimented in GLSL) -

math - Projection theory? (Implimented in GLSL) - opengl 3.x, because dont want to far behind in tech. first of all, yes know it's lot. vec3 transform(vec3) function fine, if nil else know does'nt contain problem i'm coming here for. the bit of code i'm having problems (or should be) in vec3 project(vec3) function. if i'm looking straight at, say, box, looks fine. if turn photographic camera bit box closer side of screen (periferal vision), happy box start's becoming rectangle. while live game i'm putting into, it's annoying. the basic theory behind projection is: have point (x, y, z), find angles between , origin (where photographic camera is) , project plane nearz distance out. finding angles matter of anglex = atan(x/z) , angley = atan(y/z) . , using 2 angles, project them onto near plane doing point = tan(angle) * nearz . find outer ridge of screen edgey = tan(fovy) * nearz , edgex = tan(fovy * aspect) * nearz . finding screen po...

css - My glyphicons are broken in Chrome - why? -

css - My glyphicons are broken in Chrome - why? - i building site client, based on template. template uses bootstrap framework utilizes glyphicons images. if go bootstrap homepage in chrome, glyphicons seem work fine. here page not working me: http://www.laidoffsoftware.com/contact.aspx if @ icons under address section, should see phone icon next phone number, , envelope icon next email address. in ff, ie or opera, looks fine. in chrome however, icons broken, weird symbols. i @ loss why happening? any ideas appreciated. update: chrome console showing now: viewport argument value "100%" key "width" truncated numeric prefix. contact.aspx:8 resource interpreted font transferred mime type font/x-woff: "http://www.laidoffsoftware.com/font/fontawesome-webfont.woff". contact.aspx:290 resource interpreted font transferred mime type image/svg+xml: "http://www.laidoffsoftware.com/font/icomoon.svg". @font-face { font-family: ...

batch file - Copy a windows folder with its permissions but without overwritting the content -

batch file - Copy a windows folder with its permissions but without overwritting the content - i want re-create folder permissions without copying content. example: c:\pictures , has cat photos in i want re-create permission to d:\pictures (has other pictures) and want re-create to e:\pictures (this folder not existing) i tried robocopy , icacls . not able restore info icacls: icacls c:\pictures /save ntfspermissions.txt /c icacls d:\pictures /restore c:\ntfspermissions.txt and says: 1 error . in robocopy tried parameter " /copy:sao ". not working too. works " /mir " if that, have content copied too. use get-acl , set-acl : $acl=get-acl -path c:\pictures set-acl -path d:\pictures -aclobject $acl new-item -itemtype directory -name pictures -path e:\ set-acl -path e:\pictures -aclobject $acl more detailed reply don jones : http://technet.microsoft.com/en-us/magazine/2008.02.powershell.aspx windows batch-file per...

java - Why is this unmarshaller throwing a MalformedURLException? -

java - Why is this unmarshaller throwing a MalformedURLException? - weblogic 11g (10.3.5) spring framework 3.1.3 spring web services 2.1.1 spring-ws web service running on weblogic. same web service works fine in tomcat , spring vfabric, throws these cryptic exceptions under weblogic. implementation code never reached on weblogic, rather request handling breaks downwards @ point during unmarshalling. i've tried debug through issue, 2 factors complicate that. first, unmarshaller coming weblogic, means don't have source. second, primary exception coming java.net.url, seems eclipse debugger cannot inspect local variable values. here's stack trace, trace-level logs leading it. 2013-02-07 13:45:24,523 [[active] executethread: '18' queue: 'weblogic.kernel.default (self-tuning)' :: 127.0.0.1] trace - received request [<?xml version="1.0" encoding="utf-8" standalone="yes"?><soapenv:envelope xmlns:soapenv="ht...

google app engine - Develop a KML layer with specifying KML file content as string only? -

google app engine - Develop a KML layer with specifying KML file content as string only? - we can develop kml layer follows: var crosshairlayer = new google.maps.kmllayer('kml file path'); crosshairlayer.setmap(map); for have upload kml file somewhere on net , have pass kml file url in new google.maps.kmllayer('kml file path') constructor. can develop kml layer specifying kml content only. dont want upload kml file somewhere , using url. the api not back upwards directly. you'll need utilize 3rd party kml parser. see how read kml file google-app-engine google-maps google-maps-api-3

java - High Perm Generation and Low Old Generation -

java - High Perm Generation and Low Old Generation - we have increment memory jvm 256m , old generation looks little perm generation quite high 80%. sample info capture via jstat below. high perm generation indicate here? timestamp s0c s1c s0u s1u ec european union oc ou pc pu ygc ygct fgc fgct gct 173656.0 1152.0 1216.0 864.0 0.0 84928.0 26778.0 174784.0 11967.6 21248.0 17057.8 62 3.653 0 0.000 3.653 173671.0 1152.0 1216.0 864.0 0.0 84928.0 27843.4 174784.0 11967.6 21248.0 17057.8 62 3.653 0 0.000 3.653 173686.1 1152.0 1216.0 864.0 0.0 84928.0 27843.4 174784.0 11967.6 21248.0 17057.8 62 3.653 0 0.000 3.653 173701.1 1152.0 1216.0 864.0 0.0 84928.0 27843.4 174784.0 11967.6 21248.0 17057.8 62 3.653 0 0.000 3.653 173716.0 1152.0 1216.0 864.0 0.0 84928.0 27...