• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Out of memory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Out of memory


  • Subject: Re: Out of memory
  • From: René Bock <email@hidden>
  • Date: Wed, 28 Nov 2007 17:34:48 +0100


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 +++


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Out of memory (From: Miguel Arroz <email@hidden>)

  • Prev by Date: Re: WO command line application
  • Next by Date: Re: Out of memory
  • Previous by thread: Out of memory
  • Next by thread: Re: Out of memory
  • Index(es):
    • Date
    • Thread