-
Bug
-
Resolution: Fixed
-
P2
-
fx2.0
-
fx-win-hi
There is big memory usage grow by performance media tests in latest promoted build b36.
The extra heap consumption was increased from several Mb to 50Mb in case of the test with 36 players.
The initial memory usage is also much bigger.
I see that this grow started to appear in media-scrum build b29:
MediaSystemTest.BigBunny_vp6_320x180_360kb_64kb_24p_36player.MAX_MEMORY_USAGE:
iter_1: 91536 Kb -> 139416 Kb
iter_2: 94616 Kb -> 186664 Kb
MediaSystemTest.BigBunny_vp6_1280x720_3185kb_128kb_24p.MAX_MEMORY_USAGE
iter_1: 41364 Kb -> 50876 Kb
iter_2: 41768 Kb -> 59260 Kb
The full results could be seen here:
http://aurora.russia.sun.com/performance/faces/ChessBoard.xhtml?reportName=FX2-media-scrum¶meters=%5Brefrelease%5D2.0%5Brefbuild%5D%3D+%2728%27%5Brefjdkrelease%5D1.6.0_23%5Brelease%5D%28pr.product.productRelease+IS+NOT+NULL%29%5Bbuild%5D%28pr.product.build+%3D+%2728%27%29OR%28pr.product.build+%3D+%2729%27%29%5Bjdkrelease%5D%28jdk.product.productRelease+IS+NOT+NULL%29&splitting=%5BX+axis%5DfxConf%2C+metricName%5BComplement%5Dbenchmark%2C+jdkBuild%2C+jdk%5BY+axis%5DbenchmarkName%2C+benchmarkConf%2C+fxRelease%2C+fxBuild%5BZ+axis%5Dos%2C+hwclass%2C+jdkRelease%2C+benchmarkSuite&reference=%5BOthers%5DfxRelease%2C+fxBuild%2C+jdkRelease%2C+jdkBuild%2C+jdk%2C+benchmarkSuite%2C+benchmarkName%2C+metricName%5BReference+Set%5Dbenchmark%2C+os%2C+benchmarkConf%2C+fxConf%2C+hwclass&mixReference=false&flags=&significance=empty&hideDataConfiguration=false&calculateSummary=false&showSummaryExpanded=false&showSummaryContents=true&showComplementAttributes=false&compactTables=true&viewStyle=chessboard&filter=
It looks like there is new memory leak in media code.
Unfortunately media-scrum build b29 contains a lot of fixes, so it is not obvious what could be the reason.
I didn't have time to look at heap dump files yet.
Running the test with bigger number of iterations should fail with OOM pretty quickly, so I would suggest to do it first and look at heap dump files.
The extra heap consumption was increased from several Mb to 50Mb in case of the test with 36 players.
The initial memory usage is also much bigger.
I see that this grow started to appear in media-scrum build b29:
MediaSystemTest.BigBunny_vp6_320x180_360kb_64kb_24p_36player.MAX_MEMORY_USAGE:
iter_1: 91536 Kb -> 139416 Kb
iter_2: 94616 Kb -> 186664 Kb
MediaSystemTest.BigBunny_vp6_1280x720_3185kb_128kb_24p.MAX_MEMORY_USAGE
iter_1: 41364 Kb -> 50876 Kb
iter_2: 41768 Kb -> 59260 Kb
The full results could be seen here:
http://aurora.russia.sun.com/performance/faces/ChessBoard.xhtml?reportName=FX2-media-scrum¶meters=%5Brefrelease%5D2.0%5Brefbuild%5D%3D+%2728%27%5Brefjdkrelease%5D1.6.0_23%5Brelease%5D%28pr.product.productRelease+IS+NOT+NULL%29%5Bbuild%5D%28pr.product.build+%3D+%2728%27%29OR%28pr.product.build+%3D+%2729%27%29%5Bjdkrelease%5D%28jdk.product.productRelease+IS+NOT+NULL%29&splitting=%5BX+axis%5DfxConf%2C+metricName%5BComplement%5Dbenchmark%2C+jdkBuild%2C+jdk%5BY+axis%5DbenchmarkName%2C+benchmarkConf%2C+fxRelease%2C+fxBuild%5BZ+axis%5Dos%2C+hwclass%2C+jdkRelease%2C+benchmarkSuite&reference=%5BOthers%5DfxRelease%2C+fxBuild%2C+jdkRelease%2C+jdkBuild%2C+jdk%2C+benchmarkSuite%2C+benchmarkName%2C+metricName%5BReference+Set%5Dbenchmark%2C+os%2C+benchmarkConf%2C+fxConf%2C+hwclass&mixReference=false&flags=&significance=empty&hideDataConfiguration=false&calculateSummary=false&showSummaryExpanded=false&showSummaryContents=true&showComplementAttributes=false&compactTables=true&viewStyle=chessboard&filter=
It looks like there is new memory leak in media code.
Unfortunately media-scrum build b29 contains a lot of fixes, so it is not obvious what could be the reason.
I didn't have time to look at heap dump files yet.
Running the test with bigger number of iterations should fail with OOM pretty quickly, so I would suggest to do it first and look at heap dump files.