1

I am trying to increase the java heap size for jar file that launches easy neurons program. 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

Aaron Digulla
  • 321,842
  • 108
  • 597
  • 820
MohamedAli
  • 313
  • 1
  • 5
  • 13

1 Answers1

0

When a Java program runs out of memory, you get OutOfMemoryException, not VectorSizeMismatchException.

VectorSizeMismatchException indicates

vector size does not match the network input or training element size

(see the docs).

Aaron Digulla
  • 321,842
  • 108
  • 597
  • 820
  • Yes: Either it's a bug in the code or you'll need to check the inputs that you feed the software. If it's a bug, you'll need to look at the sources or report it to the company that sold you the product. – Aaron Digulla Jul 04 '12 at 14:39