Java Out of Memory Issue

30 views
Skip to first unread message

nb1...@gmail.com

unread,
Aug 15, 2013, 11:19:57 AM8/15/13
to jflo...@googlegroups.com
Hi I'm trying to use this software to map the migration flows of students in the UK.

When I run the code I keep getting the following message 'java.lang.OutOfMemoryError: Java heap space'

Any ideas if this is caused by my computer memory or because my dataset is too large?

Many thanks,

Neil

Ilya Boyandin

unread,
Aug 15, 2013, 11:38:33 AM8/15/13
to jflo...@googlegroups.com, nb1...@gmail.com
Hi Neil,

Have you tried giving it more memory? If not, you could try to run the following from Terminal:
java -Xmx1024m -jar jflowmap.jar

Regards
Ilya

Neil Bailey

unread,
Aug 15, 2013, 11:50:53 AM8/15/13
to jflo...@googlegroups.com, nb1...@gmail.com
Thanks - i can now plot my flows but cannot get the shapefile to display behind them. Is there a maximum file size that flow map can handle? 

Many thanks,

Neil

Ilya Boyandin

unread,
Aug 15, 2013, 12:01:53 PM8/15/13
to jflo...@googlegroups.com, nb1...@gmail.com
If it's really too big, you might try to simplify it. Check out http://www.mapshaper.org/

Ilya
Reply all
Reply to author
Forward
0 new messages