java.io.IOException

Not enough storage is available to process this command

Samebug tips1

When you iterate over the lines of a scala.io.Source with source.getLines, make sure you do not close the source until you processed the iterator.


Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web17929

  • via Oracle Community by 843810, 1 year ago
    Not enough storage is available to process this command
  • via Oracle Community by 3004, 1 year ago
    Not enough storage is available to process this command
  • Not enough storage is available to process this command
  • Stack trace

    • java.io.IOException: Not enough storage is available to process this command at java.io.FileInputStream.available(Native Method) at java.io.BufferedInputStream.read(BufferedInputStream.java:282) at java.io.FilterInputStream.read(FilterInputStream.java:93) at java.io.InputStreamReader.fill(InputStreamReader.java:173) at java.io.InputStreamReader.read(InputStreamReader.java:249) at java.io.BufferedReader.fill(BufferedReader.java:139) at java.io.BufferedReader.readLine(BufferedReader.java:299) at java.io.BufferedReader.readLine(BufferedReader.java:362)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 2 weeks ago
    Once, 1 month ago
    Once, 2 months ago
    22 times, 5 months ago
    Once, 6 months ago
    17 more bugmates