com.intellij.openapi.util.io.FileTooBigException: Attempt to load 'C:\Users\Marek\.WebStorm2016.2\system\v8\v8_\v8_.inMemory' in memory buffer, file length is 53230169 bytes.

YouTrack | 5 months ago
  1. 0

    FileTooBigException when compare large heap snapshots

    YouTrack | 5 months ago
    com.intellij.openapi.util.io.FileTooBigException: Attempt to load 'C:\Users\Marek\.WebStorm2016.2\system\v8\v8_\v8_.inMemory' in memory buffer, file length is 53230169 bytes.

    Root Cause Analysis

    1. com.intellij.openapi.util.io.FileTooBigException

      Attempt to load 'C:\Users\Marek\.WebStorm2016.2\system\v8\v8_\v8_.inMemory' in memory buffer, file length is 53230169 bytes.

      at com.intellij.openapi.util.io.FileUtil.loadFileBytes()
    2. Openapi
      FileUtil.loadFileBytes
      1. com.intellij.openapi.util.io.FileUtil.loadFileBytes(FileUtil.java:240)
      1 frame
    3. com.jetbrains.nodejs
      CompareWithSnapshotAction$CalculateSecondAndDiff.run
      1. com.jetbrains.nodejs.run.profile.heap.calculation.V8HeapIndexManager.readExternalizableFromFile(V8HeapIndexManager.java:106)
      2. com.jetbrains.nodejs.run.profile.heap.calculation.V8HeapIndexManager.initReader(V8HeapIndexManager.java:74)
      3. com.jetbrains.nodejs.run.profile.heap.calculation.V8HeapProcessor.getFromCacheOrProcess(V8HeapProcessor.java:79)
      4. com.jetbrains.nodejs.run.profile.heap.view.components.CompareWithSnapshotAction$CalculateSecondAndDiff.run(CompareWithSnapshotAction.java:114)
      4 frames
    4. IDEA
      ApplicationImpl$2.run
      1. com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
      2. com.intellij.openapi.progress.impl.CoreProgressManager$3.run(CoreProgressManager.java:170)
      3. com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:494)
      4. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443)
      5. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      6. com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:155)
      7. com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128)
      8. com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:308)
      8 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames