java.lang.OutOfMemoryError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Memory Error
    via GitHub by Almars12345
    ,
  • GitHub comment 1683#225864226
    via GitHub by raver119
    ,
  • ParallelWrapper causes OOM Error
    via GitHub by daanvdn
    ,
  • GitHub comment 50#285339854
    via GitHub by siddharthBohra
    ,
  • GitHub comment 3288#296204271
    via GitHub by raver119
    ,
    • java.lang.OutOfMemoryError: Cannot allocate 2 + 5909359200 bytes (> Pointer.maxBytes) at org.bytedeco.javacpp.Pointer.deallocator(Pointer.java:486) at org.bytedeco.javacpp.Pointer.init(Pointer.java:120) at org.bytedeco.javacpp.FloatPointer.allocateArray(Native Method) at org.bytedeco.javacpp.FloatPointer.<init>(FloatPointer.java:68) at org.nd4j.linalg.api.buffer.BaseDataBuffer.<init>(BaseDataBuffer.java:457) at org.nd4j.linalg.api.buffer.FloatBuffer.<init>(FloatBuffer.java:57) at org.nd4j.linalg.api.buffer.factory.DefaultDataBufferFactory.createFloat(DefaultDataBufferFactory.java:238) at org.nd4j.linalg.factory.Nd4j.createBuffer(Nd4j.java:1224) at org.nd4j.linalg.factory.Nd4j.createBuffer(Nd4j.java:1199) at org.nd4j.linalg.api.ndarray.BaseNDArray.<init>(BaseNDArray.java:230) at org.nd4j.linalg.cpu.nativecpu.NDArray.<init>(NDArray.java:111) at org.nd4j.linalg.cpu.nativecpu.CpuNDArrayFactory.create(CpuNDArrayFactory.java:247) at org.nd4j.linalg.factory.Nd4j.create(Nd4j.java:4335) at org.nd4j.linalg.factory.Nd4j.create(Nd4j.java:4297) at org.nd4j.linalg.factory.Nd4j.create(Nd4j.java:3550) at org.deeplearning4j.models.embeddings.loader.WordVectorSerializer.readBinaryModel(WordVectorSerializer.java:217) at org.deeplearning4j.models.embeddings.loader.WordVectorSerializer.loadGoogleModel(WordVectorSerializer.java:116) at org.deeplearning4j.models.embeddings.loader.WordVectorSerializer.loadGoogleModel(WordVectorSerializer.java:96) at org.deeplearning4j.examples.nlp.word2vec.Word2VecUptrainingExample.main(Word2VecUptrainingExample.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)

    Users with the same issue

    Reich
    38 times, last one,