Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent OOM on array size over VM limit #414

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Commits on Sep 10, 2018

  1. Prevent OOM on array size

    When we try to read text file line over the VM limit (current Hotspot
    VM limit is 2^31-5), the VM throws java.lang.OutOfMemoryError:
    Requested array size exceeds VM limit. This commit is to avoid this
    error by throwing IOException instead so that the caller can handle.
    Ying Su committed Sep 10, 2018
    Configuration menu
    Copy the full SHA
    e17cd44 View commit details
    Browse the repository at this point in the history