Is there a way to allocate memory from within a Java program?  If not, why not?

Seems that if it's doable from the command line, why not from within a class?
Better yet, a method to determine how much memory is available then allocate a
percentage?


> IMHO java normally uses only 64MB of memory, try to allocate more
> memory (increase the heap size)  with a command line parameter:
>
> java -Xmx 256M application.class
>
> Cheers Joerg
>
> --

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to