-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Parquet-1485 initialize the buffer size(inputBuffer and outputBuffer) from 0 to 128M in total. This cause the unit test TestSnappy() failed with OOM exception. This is on my Mac laptop.
To solve the unit test failure, we can increase the size of -Xmx from 512m to 1024m like below. However, we need to evaluate whether or not the increase of the initial size of direct memory usage for inputBuffer and outputBuffer will cause real Parquet application OOM or not, if that application is not with big enough -Xmx size.
org.apache.maven.plugins
maven-surefire-plugin
...
-Xmx1014m
...
For details of the exception, the commit page (7dcdcdc) has the detail.
Environment: Mac OS 10.14.1
Reporter: Xinli Shang / @shangxinli
Assignee: Gabor Szadovszky / @gszadovszky
Related issues:
PRs and other links:
Note: This issue was originally created as PARQUET-1533. Please see the migration documentation for further details.