error message "out of memory

52 views
Skip to first unread message

antonio

unread,
Nov 12, 2009, 1:10:58 PM11/12/09
to Maxent
I am trying to use Maxent to study possible invasions of tephritid
fruitflies from Africa
If i Use files from worldclim at 2.5' resolution of all the world I
get this errore message:
"Please refer to help button:java.lang.Out of MemoryError:Javaheap
space.
Is there somebody that knows how to solve the problem?
Has to do it with my computer ram memory?
Is there a solution?

Michael Calkins

unread,
Nov 14, 2009, 12:10:35 PM11/14/09
to max...@googlegroups.com
Hi,

Try cleaning out your temp files, that always works for me when I get
that message.

Mike
--
Michael Calkins, M.S. Graduate Student
Center for Applied Spatial Ecology
New Mexico Cooperative Fish and Wildlife Research Unit
Department of Fish, Wildlife, and Conservation Ecology
New Mexico State University
2980 South Espina, Knox Hall 106
P.O. Box 30003, MSC 4901
Las Cruces, NM 88003-8003
Email: conserv...@gmail.com
Phone: 575-646-3292
Cell: 575-915-4798
Web Site: http://sites.google.com/site/calkinsspatialecology/

Newton Pimentel de Ulhôa Barbosa

unread,
Nov 14, 2009, 12:48:38 PM11/14/09
to max...@googlegroups.com
Hi Antonio,

Your problem is memory. 

Maxent.bat assumes that your computer has at least 512 megabytes of
memory.  If this is not the case, you should edit the file (for
example, using Notepad) to increase the amount of memory it requests.  If your computer has more
than 512 megabytes of memory, you should increase the amount described
in the file.  For example, if your computer has a gigabyte of memory,
replace the number "512" with "900" (leaving a little for other
programs).  However, if your computer is running Microsoft Windows,
there is unfortunately an upper limit of about 1.3 gigabytes that
Windows can give to Java.

Best regards,

--
Newton Pimentel de Ulhôa Barbosa



2009/11/12 antonio <antonio.c...@gmail.com>

Iulian Gherghel

unread,
Nov 15, 2009, 5:21:22 AM11/15/09
to max...@googlegroups.com
Hi Antonio,
I have the same problem like you (using MaxEnt under Windows Vista) but now I have intalate a Linux platform and MaxEnd runs perfectly, without any errors.
You can try this solution :)
All the best,
Iulian

--
Iulian Gherghel
http://www.igherghel.uv.ro

tel. 004 0741 307 799 (personal)

B.Sc. student: „AL. I. Cuza" University, Faculty of Biology, Iasi
www.bio.uaic.ro

"Moldavica" Herpetological Club
Romanian Herpetological Society
Herpetological Club of Oradea

Scientific Journals:
North-Western Journal of Zoology
http://herp-or.uv.ro/nwjz/

Advances in Environmental Sciences
http://www.aes.bioflux.com.ro/

Herpetologica Romanica
http://herpetofauna.uv.ro/herprom.html
Reply all
Reply to author
Forward
0 new messages