I'm trying to allocate 3 X 20485700 Bytes (total: ~600MB). If I'm writing a program in C++, I can run it without errors, But the same program (written in java) - I'm getting: java.lang.OutOfMemoryError: java heap space.
I'm using the Eclipse (Juno) - so I think that eclipse is not the problem. (Xms700m Xmx1024m)
What can I do and what is the problem?
Thanks