Michael Sinz wrote:
> >Not really.
> >I have a 256MB machine.
> >Even if I set the -mx256M option, the jvm throws OutOfMemory excelption at
> >approximately 100 MB of memory usage (according to top)
>
> Well, what was it trying to do. The JVM is actually rather poor at
> picking why it throws OutOfMemory exceptions. It will throw that when
> you run out of file handles, process slots (if you are native threads),
> sockets, and most any other OS induced limit, even though many are not
> strictly lack of memory.
>
> I run a number of Java programs that use more than 200meg of memory to
> do their processing (very large data sets) and it runs just fine.
As I see it, it is thrown during memory allocation.
The problem with most apps that cause me OutOfMemoryException is that mem is
requested in a certain point (this is a pretty big chunk of memory to request).
There are cases that I managed to run apps with more than 100 meg memory usage ;-}
(but they weren't allocating in large chunks...)
-- dimitris [mailto:[EMAIL PROTECTED]]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]