Menu

#51 OutOfMemoryError

1.2.1
open
nobody
engine (32)
5
2006-02-08
2006-02-08
velo
No

When the situation above (describe on FAQ) occurs:
Q: I'm using a large input data set (more than 10MB),
and when I train the network I get a
java.lang.OutOfMemoryError message. Why?
A: You need to launch the JVM using the parameter -Xmx
in order to allocate a huge stack size for your
application. The default is 64MB, hence you can try to
use -Xmx128M or more.

Only one Thread is killed. But the program continues
running.

Maybe is possible to add a new method on
NeuralNetListener to catch this events or send a
'message' to the other Threads commanding a full stop
throwing a exception.

Marvin

Discussion


Log in to post a comment.

MongoDB Logo MongoDB