javaee / jersey

This is no longer the active Jersey repository. Please see the README.md
http://jersey.github.io
Other
2.87k stars 2.36k forks source link

memory leak in multipart uploads #3259

Open glassfishrobot opened 8 years ago

glassfishrobot commented 8 years ago

Requests with multipart uploads create temp files (MIMExxx.tmp) which are marked for deletion using the JVM hook deleteOnExit. For long-running server processes, this is not appropriate since it leads to a memory leak (tracking of an ever-increasing number of references in a LinkedHashSet in java.io.DeleteOnExitHook).

See related mimepull issue: https://java.net/jira/browse/MIMEPULL-13

Affected Versions

[2.21]

glassfishrobot commented 8 years ago

Reported by phraktle2

glassfishrobot commented 8 years ago

phraktle2 said: Any plans on fixing this? This affects long running server-apps, resulting in OOM.

glassfishrobot commented 7 years ago

phraktle2 said: This is still a problem.

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA JERSEY-2987