Skip to content

BOOKKEEPER-578: LedgerCacheImpl is reserving 1/3 of Heap size but allocates NonHeap memory#28

Closed
merlimat wants to merge 1 commit intoapache:masterfrom
merlimat:bk-578
Closed

BOOKKEEPER-578: LedgerCacheImpl is reserving 1/3 of Heap size but allocates NonHeap memory#28
merlimat wants to merge 1 commit intoapache:masterfrom
merlimat:bk-578

Conversation

@merlimat
Copy link
Copy Markdown
Contributor

No description provided.

@sijie
Copy link
Copy Markdown
Member

sijie commented Mar 15, 2016

@merlimat it seems that "sun.misc.VM.maxDirectMemory();" this API will be deprecated soon.

[WARNING] https://builds.apache.org/job/bookkeeper-master-git-pullrequest/ws/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/IndexInMemPageMgr.java:[335,40] sun.misc.VM is internal proprietary API and may be removed in a future release

@merlimat merlimat force-pushed the bk-578 branch 2 times, most recently from 9550e15 to 6052c0d Compare March 16, 2016 17:07
@merlimat
Copy link
Copy Markdown
Contributor Author

@sijie updated with better way to get direct memory size

@sijie
Copy link
Copy Markdown
Member

sijie commented Apr 5, 2016

the change looks good to me. +1

@asfgit asfgit closed this in d607b36 Apr 5, 2016
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