java.lang.OutOfMemoryError: Cannot allocate 2 + 5909359200 bytes (> Pointer.maxBytes)

GitHub | lycchn | 3 months ago
  1. 0

    java.lang.OutOfMemoryError: Cannot allocate 2 + 5909359200 bytes (> Pointer.maxBytes)

    GitHub | 3 months ago | lycchn
    java.lang.OutOfMemoryError: Cannot allocate 2 + 5909359200 bytes (> Pointer.maxBytes)
  2. 0

    OutOfMemoryError: Cannot allocate 3740963793 bytes on moderate network

    GitHub | 7 months ago | wutzebaer
    java.lang.OutOfMemoryError: Cannot allocate 3740963793 bytes
  3. 0

    GitHub comment 1683#225864226

    GitHub | 6 months ago | raver119
    java.lang.OutOfMemoryError: Cannot allocate 439292974 + 109800000 bytes (> Pointer.maxBytes)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ParallelWrapper causes OOM Error

    GitHub | 1 month ago | daanvdn
    java.lang.OutOfMemoryError: Cannot allocate new FloatPointer(136416605), totalBytes = 9178936574, physicalBytes = 12142575616
  6. 0

    OutOfMemoryError for same amount of data in Conv1D while not in Conv2D

    GitHub | 2 months ago | sid-sahani
    java.lang.OutOfMemoryError: Cannot allocate new FloatPointer(373075000), totalBytes = 9218923922, physicalBytes = 11564949504

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Cannot allocate 2 + 5909359200 bytes (> Pointer.maxBytes)

      at org.bytedeco.javacpp.Pointer.deallocator()
    2. JavaCPP
      FloatPointer.<init>
      1. org.bytedeco.javacpp.Pointer.deallocator(Pointer.java:486)
      2. org.bytedeco.javacpp.Pointer.init(Pointer.java:120)
      3. org.bytedeco.javacpp.FloatPointer.allocateArray(Native Method)
      4. org.bytedeco.javacpp.FloatPointer.<init>(FloatPointer.java:68)
      4 frames
    3. nd4j-api
      FloatBuffer.<init>
      1. org.nd4j.linalg.api.buffer.BaseDataBuffer.<init>(BaseDataBuffer.java:457)
      2. org.nd4j.linalg.api.buffer.FloatBuffer.<init>(FloatBuffer.java:57)
      2 frames
    4. org.nd4j.linalg
      DefaultDataBufferFactory.createFloat
      1. org.nd4j.linalg.api.buffer.factory.DefaultDataBufferFactory.createFloat(DefaultDataBufferFactory.java:238)
      1 frame
    5. nd4j-api
      BaseNDArray.<init>
      1. org.nd4j.linalg.factory.Nd4j.createBuffer(Nd4j.java:1224)
      2. org.nd4j.linalg.factory.Nd4j.createBuffer(Nd4j.java:1199)
      3. org.nd4j.linalg.api.ndarray.BaseNDArray.<init>(BaseNDArray.java:230)
      3 frames
    6. org.nd4j.linalg
      CpuNDArrayFactory.create
      1. org.nd4j.linalg.cpu.nativecpu.NDArray.<init>(NDArray.java:111)
      2. org.nd4j.linalg.cpu.nativecpu.CpuNDArrayFactory.create(CpuNDArrayFactory.java:247)
      2 frames
    7. nd4j-api
      Nd4j.create
      1. org.nd4j.linalg.factory.Nd4j.create(Nd4j.java:4335)
      2. org.nd4j.linalg.factory.Nd4j.create(Nd4j.java:4297)
      3. org.nd4j.linalg.factory.Nd4j.create(Nd4j.java:3550)
      3 frames
    8. org.deeplearning4j.models
      WordVectorSerializer.loadGoogleModel
      1. org.deeplearning4j.models.embeddings.loader.WordVectorSerializer.readBinaryModel(WordVectorSerializer.java:217)
      2. org.deeplearning4j.models.embeddings.loader.WordVectorSerializer.loadGoogleModel(WordVectorSerializer.java:116)
      3. org.deeplearning4j.models.embeddings.loader.WordVectorSerializer.loadGoogleModel(WordVectorSerializer.java:96)
      3 frames
    9. org.deeplearning4j.examples
      Word2VecUptrainingExample.main
      1. org.deeplearning4j.examples.nlp.word2vec.Word2VecUptrainingExample.main(Word2VecUptrainingExample.java:85)
      1 frame
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    11. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
      1 frame