Have you tried "mpirun -np N .... java -Xmxn myapp"? Once we see a non-OMPI cmd line option (e.g., "java"), we should stop checking those options
On Tue, Feb 23, 2016 at 7:51 AM, Ibrahim Ikhlawi <ibrahim_...@hotmail.com> wrote: > Hallo, > > When I run my code for a big number of data with Java OpenMPI, I get the > error "java.lang.OutOfMemoryError", even if I run that on a server with > 64GB RAM. Also I need to maximize the size of the memory allocation. > With java I can do that by adding -Xmxn (write man java), but when I run > my code I write mpirun -np ... and not java ... . therefore when I use the > same command (-Xmxn) with mpirun, I get the error "unknown option -Xmx512m". > > So how can I maximize that with OpenMPI? Or is there any other way to do > that? > > Thanks in advance > Ibrahim > > _______________________________________________ > users mailing list > us...@open-mpi.org > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users > Link to this post: > http://www.open-mpi.org/community/lists/users/2016/02/28567.php >