direct buffer allocation with Java 1.4.2
direct buffer allocation with Java 1.4.2
- Subject: direct buffer allocation with Java 1.4.2
- From: Guy Hoffman <email@hidden>
- Date: Tue, 11 May 2004 20:13:42 -0400 (EDT)
Hi,
As described in bug 4879883
(
http://developer.java.sun.com/developer/bugParade/bugs/4879883.html),
"Allocating direct buffers causes OutOfMemoryError" in Java 1.4.2
This is due to an automatic limit of 64M to direct buffer allocations.
Sun recommends using the undocumented flag -XX:MaxDirectMemorySize to
increase this limit. This flag does however not work with the Apple
implementation of Java.
The -server option does work with regular java, but does not seem to be
supported in the Cocoa-Java framework.
Does anyone know of a way to increase the limit on direct buffer
allocations in Cocoa-Java ?
Much appreciated,
Guy.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.