out of memory error

We are getting out of memory errors that do not seem to be associated with the heap ,because we are monitoring the available space and there is plenty of space.It happens when the class loader is loading a resource.Is this possible?
[253 byte] By [David_Bakera] at [2007-10-2 10:22:32]
# 1

How are you starting the JVM? By default it uses maximum 64MB; there is the -Xmx option which allows you to assign another value as maximum.

Apart from this, a program's total memory consists of more than the heap alone; there's also stack memory which I believe can also be manipulated with a java command line option.

Lokoa at 2007-7-13 1:54:39 > top of Java-index,Other Topics,Java Community Process (JCP) Program...