]> granicus.if.org Git - libjpeg-turbo/commit
Java: Avoid OOM error when running 'make test'
authorDRC <information@libjpeg-turbo.org>
Tue, 9 Feb 2016 07:35:39 +0000 (01:35 -0600)
committerDRC <information@libjpeg-turbo.org>
Tue, 9 Feb 2016 07:35:39 +0000 (01:35 -0600)
commitd123c125c50993986537a2c1a49b8b52313c2af9
tree763cfc313f62f7ae442fbce8ccde2987075a095e
parent8632f1b2626ccef099f58382d880e9c7325a2d28
Java: Avoid OOM error when running 'make test'

We need to garbage collect between iterations of the outside loop in
bufSizeTest() in order to avoid exhausting the heap when running with
Java 6 (which is still used on Linux to test the 32-bit version of
libjpeg-turbo in automated builds.)
java/TJUnitTest.java