jifa
jifa copied to clipboard
OOM when analyze great large dump file, may be we need to improve the OOM error message.
Analyze great large dump file may cause OOM if there has some classes which instances more than Integer.MAX_VALUE. Pass the discard options can avoid this issue, but user can not get the info of classes which need to be discarded, so they do not know which class should be discarded.
So, we need to improve the error message of OOM caused by too much instances, so that user can know the name of the classes which should be discarded.
However, the code throws the OOM error is in the project mat, we need to change the code in the project mat to achieve this goal. We need to commit pr to the mat, and wait mat release new version, then update the version of dependency in jifa, sounds some complicated.
Any suggestion?