Most JVMs only set aside a heap with a maximum of 16M (I think). This is
the play area for your objects so it seems you are exceeding that. Add to
your JAVA_OPTS something like -Xmx64m or an appropriate amount - you'll
need to figure out just how much heap you will need.

You can check the meaning with "java -X" at the command line to list
the -X options for your JVM.

Hope it helps.

JonB

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Joao
> Clemente
> Sent: Wednesday, 13 August 2003 11:23 AM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] java.lang.outofmemoryError?!? My system memory is
> still free!!!
>
>
> While load testing my app on JBoss I'm  facing this problem: I'm getting
> java.lang.outofmemoryError but my system has still 128 Mb ram free!!!
>
> I'm running JBoss 3.0.8 in Windows 2000.
> My system is a p4m-1.8 Ghz with 512Mb DDR.
> Windows task manager states 410Mb used, 128Mb available, java process is
> showing about 125 Mb memory usage.
>
> Maybe this issue is something that has to be tweaked with the starting
> command?
> I'm no advanced java user, and my guess is that maybe the java machine
> cannot use full system memory but is bound to som value unless we state
> otherwise... can that be it?
>
> Thanks

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

Reply via email to