Re: OutOfMemoryError: Java heap space when i try to upload and show a hundred 100kb pics

2013-09-02 Thread Michael Mosmann
Am 01.09.13 10:53, schrieb Giovanni: Martin Grigorov-4 wrote Hi, Read about Java memory settings (-Xms, -Xmx) Yes, I can increase heap space by settings, but is this a good approach? If displaying one 10Mb pic consumes 1.5Gb heap space - is this normal? Maybe there are other ways to solve

Re: OutOfMemoryError: Java heap space when i try to upload and show a hundred 100kb pics

2013-09-01 Thread Giovanni
by settings? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/OutOfMemoryError-Java-heap-space-when-i-try-to-upload-and-show-a-hundred-100kb-pics-tp4661159p4661161.html Sent from the Users forum mailing list archive at Nabble.com

Re: OutOfMemoryError: Java heap space when i try to upload and show a hundred 100kb pics

2013-09-01 Thread Martin Makundi
space - is this normal? Maybe there are other ways to solve this problem without increasing heap space by settings? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/OutOfMemoryError-Java-heap-space-when-i-try-to-upload-and-show-a-hundred-100kb-pics

OutOfMemoryError: Java heap space when i try to upload and show a hundred 100kb pics

2013-08-31 Thread Giovanni
); add(form); super.onBeforeRender(); } }/ -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/OutOfMemoryError-Java-heap-space-when-i-try-to-upload-and-show-a-hundred-100kb-pics-tp4661159.html Sent from the Users forum mailing list archive

Re: OutOfMemoryError: Java heap space when i try to upload and show a hundred 100kb pics

2013-08-31 Thread Martin Grigorov
); uploadField.setModel(new ListModelFileUpload()); form.add(uploadField); add(form); super.onBeforeRender(); } }/ -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/OutOfMemoryError-Java-heap

Re: OutOfMemoryError: Java heap space - AppendingStringBuffer

2007-12-30 Thread Artur W.
Uwe Schäfer wrote: Hi Artur, I suppose it isn´t the AppendingStringBuffer that is causing your problem. Did you attach a profiler? http://YourKit.com is just one example of a good, easy to setuprun profiler. I did like you said. I turns out that my refreshView consume so much memory

Re: OutOfMemoryError: Java heap space - AppendingStringBuffer

2007-12-30 Thread C.
On Sun, 2007-12-30 at 07:46 -0800, Artur W. wrote: Uwe Schäfer wrote: Hi Artur, I suppose it isn´t the AppendingStringBuffer that is causing your problem. Did you attach a profiler? http://YourKit.com is just one example of a good, easy to setuprun profiler. I did like

Re: OutOfMemoryError: Java heap space - AppendingStringBuffer

2007-12-29 Thread Johan Compagner
yeah but South Africa has 3G no idea what thats gonna cost me. But also internet cafes so i should use those more often.. johan On Dec 29, 2007 12:09 AM, Sebastiaan van Erk [EMAIL PROTECTED] wrote: He, I thought you were having vacation :-PPP Seb* Johan Compagner wrote: Nowadays its

Re: OutOfMemoryError: Java heap space - AppendingStringBuffer

2007-12-29 Thread Maurice Marrink
the permgen space param = -XX:MaxPermSize=256m Just in case. Maurice On Dec 29, 2007 3:09 PM, Artur W. [EMAIL PROTECTED] wrote: Eelco Hillenius wrote: Yes, use a profiler. Everyone who is working on a production system should regularly use a profiler and load testing tool to ensure

OutOfMemoryError: Java heap space - AppendingStringBuffer

2007-12-28 Thread Artur W.
Hello Everybody! I just got OutOfMemoryError in our production application (wicket 1.3rc2). Any ideas what was the reason? Artur java.lang.OutOfMemoryError: Java heap space at org.apache.wicket.util.string.AppendingStringBuffer.expandCapacity(AppendingStringBuffer.java:158) at

Re: OutOfMemoryError: Java heap space - AppendingStringBuffer

2007-12-28 Thread Uwe Schäfer
Hi Artur, I suppose it isn´t the AppendingStringBuffer that is causing your problem. Did you attach a profiler? http://YourKit.com is just one example of a good, easy to setuprun profiler. java.lang.OutOfMemoryError: Java heap space at

Re: OutOfMemoryError: Java heap space - AppendingStringBuffer

2007-12-28 Thread Maurice Marrink
Did you try starting your app container with extra memory, by default java does not allocate that much, a common webapp is likely to run out of memory with the default settings. Maurice On Dec 28, 2007 1:20 PM, Uwe Schäfer [EMAIL PROTECTED] wrote: Hi Artur, I suppose it isn´t the

Re: OutOfMemoryError: Java heap space - AppendingStringBuffer

2007-12-28 Thread Artur W.
Uwe Schäfer wrote: I suppose it isn´t the AppendingStringBuffer that is causing your problem. Did you attach a profiler? http://YourKit.com is just one example of a good, easy to setuprun profiler. I didn't. It happened in our production server and only once. But this kind of errors

Re: OutOfMemoryError: Java heap space - AppendingStringBuffer

2007-12-28 Thread Uwe Schäfer
Artur W. schrieb: I didn't. It happened in our production server and only once. But this kind of errors makes me worry so I wanted to ask about it. i´d suggest you duplicate your productionserver and attach a profiler while load-testing with some usual tool like jmeter etc in order to see

Re: OutOfMemoryError: Java heap space - AppendingStringBuffer

2007-12-28 Thread Artur W.
Mr Mean wrote: Did you try starting your app container with extra memory, by default java does not allocate that much, a common webapp is likely to run out of memory with the default settings. I start tomcat with: -Xms512M -Xmx768M Should I consider something else?

Re: OutOfMemoryError: Java heap space - AppendingStringBuffer

2007-12-28 Thread Eelco Hillenius
I start tomcat with: -Xms512M -Xmx768M Should I consider something else? Yes, use a profiler. Everyone who is working on a production system should regularly use a profiler and load testing tool to ensure there are no memory leaks etc. In my experience and if you search threads in this list,

OutOfMemoryError: Java heap space

2007-12-05 Thread Sergio García
Hi, I have a memory problem on my wicket app. It's being developed, so there is no reason for a memory problem. The class that throws this exception has a intensive use of LoadableDetachableModel. 2007-12-05 16:56:12,032 ERROR [[WicketApplication]] (StandardWrapperValve.java:253) -

Re: OutOfMemoryError: Java heap space

2007-12-05 Thread Sergio García
igor.vaynberg wrote: erm, if all your OfferListModel do is have something in load() then why do you subclass it instead of the LDM directly? -igor First you have to think that i can't touch the service. The abstract LoadableDetachableModel retrieves a instance of a TO containing

Re: OutOfMemoryError: Java heap space

2007-12-05 Thread Sergio García
igor.vaynberg wrote: looks like your page has a reference to some huge object which causes a problem when the page is serialzed - so maybe that loadable detachable model of yours is not very detachable... -igor I don't know what i'm doing wrong. I have a abstract detachable model: