Hi!

If my supposition was right, memory usage should be constant. So, I assume it has enough space. Also, I see a clear degradation in the performance during the cycle, so I suppose something is really going wrong.

  Yours

Miguel Arroz

On 2007/11/28, at 16:06, René Bock wrote:


Am 28.11.2007 um 14:38 schrieb Miguel Arroz:

Hi!

I'm having an Out of memory exception (and consequently application death) that I can't figure out why it happens. I suspect it's because I'm assuming something about the WO behaviour that is not correct (as usual).

The problem is this: I have an action that creates some test data. Depending on the parameters I feed on the page, it may create many many objects (50k, or more). Of course, this takes time, and the request will at some point hang (ie, the browser gets an error from the adaptor) but I don't care, as this is used only during testing.


I suppose you gave enough heap space to the java VM (max 2GB). Per default, the heap size grows exponentially. To make the VM less greedy, I start my apps with

-Xms256m -Xmx2048m -XX:NewSize=128m -XX:MaxNewSize=128m


Mit freundlichem Gruß,

René Bock
Software Engineering

--
Salient GmbH  -  the interactive advantage
Kontorhaus -  Lindleystraße 12, 60314 Frankfurt Main

Fon +49 (0)69 - 650096 -0, Durchwahl: - 18, Fax: -70

http://www.salient.de                           http://www.openforms.de

Geschäftsführer: Peter Biler, Alexander Gerling, Lars Ohlerich
Amtsgericht Frankfurt Main, HRB 48693

+++ salient gewinnt den IF Design-Award 2007 +++



Miguel Arroz
http://www.terminalapp.net
http://www.ipragma.com



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to