United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 7124829 NUMA: memory leak on Linux with large pages
7124829 : NUMA: memory leak on Linux with large pages

Details
Type:
Bug
Submit Date:
2011-12-24
Status:
Closed
Updated Date:
2012-03-29
Project Name:
JDK
Resolved Date:
2012-03-29
Component:
hotspot
OS:
linux
Sub-Component:
gc
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs23
Fixed Versions:
hs23

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

Description
The issue is with os::free_memory() changes made in 7060842 when the ???madvise??? call was replaced with ???mmap???. This is the reason of exhaustive memory consumption. Seems when we need to remap some memory we need to do it using the same flags as we mapped it initially, particularly with ???MAP_HUGETLB???. Otherwise system maps 4k pages instead of already reserved huge pages.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/20bfb6d15a94
                                     
2012-03-22
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/20bfb6d15a94
                                     
2011-12-28
EVALUATION

See description.
                                     
2011-12-24



Hardware and Software, Engineered to Work Together