- From: Christopher William Turner <cwturner@cycom.co.uk>
- Date: Wed, 14 Apr 1999 13:08:04 -0400 (EDT)
- To: lacall <lacall@micron.com>
- CC: "'www-jigsaw@w3.org'" <www-jigsaw@w3.org>
I use Win98 , jdk1.2 and my own compilation based on jigsaw2.0.1 I too have a complex servlet but was unable to affect my windows "resources" (whatever microsoft means by that) which stayed at 79% free. I could take CPU usage to 100% very easily. I tried "java -Xmx2m ...." (2 megabytes) and jigsaw still ran and served an html page ok but when it hit my servlet it provoked an OutOfMemoryException (which I intended). So java limits seem to work. Perhaps your "java" is actually some script which doesn't pass the right option to the binary. Or maybe you fork other java processes? java.lang.OutOfMemoryError: at java.io.InputStreamReader.<init>(InputStreamReader.java:90) at java.io.InputStreamReader.<init>(InputStreamReader.java:74) at TradeStore.loadTrade(TradeStore.java:155) at TradeEnumeration.nextElement(TradeStore.java:32) at TradeStore.getCachedTrades(TradeStore.java:77) at TradescanServlet.init(TradescanServlet.java:352) at org.w3c.jigsaw.servlet.ServletWrapper.launchServlet(ServletWrapper.java:294) at org.w3c.jigsaw.servlet.ServletWrapper.launchServlet(ServletWrapper.java:370) at org.w3c.jigsaw.servlet.ServletWrapper.initialize(ServletWrapper.java:408) at org.w3c.tools.r lacall wrote: > Jigsaw is using up all the memory on my PC (160MB, 200+ of swap), and this > is probably just my a problem of my own ignorance. I am running jigsaw with > this command line: > java -Xmx30m org.w3c.jigsaw.Main -root C:\jigsaw\Jigsaw > which I thought might limit it (especially since the default value for -Xmx > is 16MB). The servlet I'm running is complex, but should I be doing > something else to control the RAM usage? > > Many thanks! > > Luke Call > EDM Group > Micron Technology, Boise -- Chris Turner, http://www.cycom.co.uk/
Received on Wednesday, 14 April 1999 13:10:24 UTC