Skip to content

Conversation

@bronti
Copy link

@bronti bronti commented May 4, 2017

No description provided.

Copy link

@sproshev sproshev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

10

long beforeUsedMb = (rt.totalMemory() - rt.freeMemory()) / 1024 / 1024;
base.evaluate();
long afterUsedMb = (rt.totalMemory() - rt.freeMemory()) / 1024 / 1024;
System.gc();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

думаю это должно стоять на 1 строку выше)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants