Quantcast

Julia3d out of memory problem

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Julia3d out of memory problem

Martin
Hi,
Trying to run Julia3d throws the following exception:

BUILD_SUCCESS
CLDevice [id: 161313944 name: GeForce 310M type: GPU profile: FULL_PROFILE] build log:
    <empty>
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Direct buffer memory
        at java.nio.Bits.reserveMemory(Unknown Source)
        at java.nio.DirectByteBuffer.<init>(Unknown Source)
        at java.nio.ByteBuffer.allocateDirect(Unknown Source)
        at com.jogamp.common.nio.Buffers.newDirectByteBuffer(Buffers.java:69)
        at com.jogamp.common.nio.Buffers.newDirectFloatBuffer(Buffers.java:111)
        at com.jogamp.opencl.CLContext.createFloatBuffer(CLContext.java:318)
        at com.jogamp.opencl.demos.julia3d.Julia3d.update(Julia3d.java:92)
        at com.jogamp.opencl.demos.julia3d.Renderer.reshape(Renderer.java:188)

I tried to use -Xmx1400m, and can't go further with my computer otherwise JVM can't start.

Should this memory error be solved with a larger heap, and in that case which size, or am I going on the wrong track using -Xmx for solving this issue?

Best regards,
Martin
Loading...