简体   繁体   English

增加jar文件的JVM大小

[英]Increase JVM size for jar file

I am trying to increase the java heap size for jar file that launches easy neurons program. 我正在尝试增加启动简单神经元程序的jar文件的Java堆大小。 There is a patch file that i tried to modify to be like that 有一个补丁文件,我试图将其修改为

java -jar easyNeurons.jar -Xmx1024M -Xms1024M

but I still get VectorSizeMismatchException 但我仍然得到VectorSizeMismatchException

When a Java program runs out of memory, you get OutOfMemoryException , not VectorSizeMismatchException . 当Java程序内存不足时,您将收到OutOfMemoryException而不是VectorSizeMismatchException

VectorSizeMismatchException indicates VectorSizeMismatchException指示

vector size does not match the network input or training element size 向量大小与网络输入或训练元素大小不匹配

( see the docs ). 请参阅文档 )。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM