• 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: java.lang.OutOfMemoryError
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: java.lang.OutOfMemoryError


  • Subject: Re: java.lang.OutOfMemoryError
  • From: Ricardo Strausz <email@hidden>
  • Date: Fri, 11 Apr 2003 13:25:56 -0600

On viernes, abri 11, 2003, at 12:57 America/Mexico_City, Cliff Tuel wrote:

I'd try the second method proposed by the paper, growing the memory
(from 64mb) to 384mb but stll run out of memory...

Immediately, or does it take longer now? If the former, then the technique
isn't working. Like I said, I haven't tried it with Cocoa/EOF apps (they're
still considered "experimental" which is why we don't license Cocoa/EOF
deployments yet).

I am not sure, but I think it took a bit longer.
It is a bit rare; it takes about 7 minutes to proces ~1500 clients (with the default 64mb) which is about 1/3 of all. If a change to 128mb it crashes (with a signalbus 10) as if I change to 192mb, in arround 15 min; but with 384 it goes out of memory, again in about 15 min...


I still have to do more experiments...
but someone should push Apple to license Cocoa/EO; it is simply the best tech to develope DB-based apps...



if I have 512 mb of ram, can I assign ALL of it to the JVM??
that is, can I use the option -Xmx512m in the JVM_OPTIONS??

You need to need enough for the operating system and other applications
which may be running, otherwise your machine will start swapping -- a huge
performance hit.


There's a hard-coded upper-bound on -Xmx which is platform-dependent.
However, in your case, I suggest you use a fetch qualifier, fetch limit, or
don't fetch unneeded attributes.

I am fetching the less necesary to do the statistics I nead... well I neaded; I had to partition everythig in 3 in order to do it; I hope we will learn more from this isue....


--
Cliff Tuel email@hidden http://apple.com/services/technicalsupport
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: java.lang.OutOfMemoryError
      • From: Art Isbell <email@hidden>
References: 
 >Re: java.lang.OutOfMemoryError (From: Cliff Tuel <email@hidden>)

  • Prev by Date: Re: EOGeneralAdaptorException
  • Next by Date: Re: [webobjects-newbies] Adding a user and permissions
  • Previous by thread: Re: java.lang.OutOfMemoryError
  • Next by thread: Re: java.lang.OutOfMemoryError
  • Index(es):
    • Date
    • Thread