René's URL Explorer Experiment


Title: Java Help 2_0_05 Memory Leak in FlatMap · Issue #32 · javaee/javahelp · GitHub

Open Graph Title: Java Help 2_0_05 Memory Leak in FlatMap · Issue #32 · javaee/javahelp

X Title: Java Help 2_0_05 Memory Leak in FlatMap · Issue #32 · javaee/javahelp

Description: We have a Java Desktop Application which uses JavaHelp library to show Help Content. From "Main Java Window", we launch another "JFrame Window". The later "JFrame Window" can be closed and opened several times when "Main Java Window" is ...

Open Graph Description: We have a Java Desktop Application which uses JavaHelp library to show Help Content. From "Main Java Window", we launch another "JFrame Window". The later "JFrame Window" can be closed and opened s...

X Description: We have a Java Desktop Application which uses JavaHelp library to show Help Content. From "Main Java Window", we launch another "JFrame Window". The later "JFrame Window&qu...

Opengraph URL: https://github.com/javaee/javahelp/issues/32

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Java Help 2_0_05  Memory Leak in FlatMap","articleBody":"We have a Java Desktop Application which uses JavaHelp library to show Help Content.\n\nFrom \"Main Java Window\", we launch another \"JFrame Window\". The later \"JFrame Window\" can be closed and opened several times when \"Main Java Window\" is still alive.\n\n\"JFrame Window\" used JavaHelp and creates HelpSet etc. When we close the \"JFrame Window\" we call cleanup method on HelpSet and HelpBroker object and assign the object=null.\n\nNote that we have large number of help html files. But it is observed that JavaHelp's FlatMap object is not getting released for after closing \"JFrame Window\" (Even after running GC). \"FlatMap\" has \"FlatMapResourceBundle\" inner class which has got \"lookup\" hashtable. This \"lookup\" hashtable is storing big chunk of memory.\n\nI've written the sample example to re-create the issue.\n\nRequest you to follow below instructions.\n\n1) Download attached sample zip file. Extract it. This has doc, lib, src directory.\n2) Download [http://download.java.net/javadesktop/javahelp/javahelp2_0_05.zip](http://download.java.net/javadesktop/javahelp/javahelp2_0_05.zip) and put \"jhall.jar\" in lib directory.\n3) You need large number of html files. We use Java Help Documentation ![](https://java.net/jira/images/icons/emoticons/smile.gif)\nGoto [http://www.oracle.com/technetwork/java/javase/downloads/index-jdk5-jsp-142662.html#docs](http://www.oracle.com/technetwork/java/javase/downloads/index-jdk5-jsp-142662.html#docs)\nNavigate to the \"J2SE 5.0 Documentation\" on the same page and click \"download\" to download \"jdk-1_5_0-doc.zip\" (Follow the page to download as instructed).\n4) Just extract above download documentation into \"doc\" directory.\n5) The sample program is very very generic as it generates helpset, map files too.\n\n*   1\\. Creates Map file from given directory containing set of HTML files (JDK Documentation)\n*   2\\. Creates HelpSet\n*   3\\. Put the thread to Sleep for about 5 seconds\n*   4\\. Cleanup HelpSet\n*   5\\. Force Java Garbage Collection\n*   6\\. Repeat 2 to 5 about 10 times\n*   7\\. Wait for user input so that you can check for memory leak\n\nCD to \"src\" directory and compile and run the sample as shown below.\n\nCompile\njavac -classpath ..\\lib\\jhall.jar com\\org\\test\\memory\\TestJavaHelpMem.java\n\nRun\njava -classpath .;..\\lib\\jhall.jar com.org.test.memory.TestJavaHelpMem \"..\\doc\"\n\nNow what we need\n----------------\nWe need a API (a cleanup function) to remove the memory chunk held by FlatMap::FlatMapResourceBundle::lookup table.\nAlso have a look at cleanup the memory reference around it.\n#### Environment\nWindows 2003 Professional, Java Help 2_0_05, Java version \"1.6.0_25\"\n#### Affected Versions\n[current]","author":{"url":"https://github.com/glassfishrobot","@type":"Person","name":"glassfishrobot"},"datePublished":"2011-06-07T00:26:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/32/javahelp/issues/32"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:753d98b3-2a14-c2d8-9b5a-37d4b645ad79
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAB90:154180:197E00E:217700D:696B2F66
html-safe-nonce48b36a0c6277cde7d7a83ab6f34913a256dce07d7e97beded71e2423f86cf905
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjkwOjE1NDE4MDoxOTdFMDBFOjIxNzcwMEQ6Njk2QjJGNjYiLCJ2aXNpdG9yX2lkIjoiNjMxNzg3NzYxNDA3NjQ0MDQyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb893a8a444ec2d14425665d981fb2c65165d49b905a7f37c03fba18fa4fe12dd
hovercard-subject-tagissue:224363676
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/javaee/javahelp/32/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0d4eca1f4f3c9fe184bf6099701c6dd7416834c33c30c381e0316f52ab406d0b/javaee/javahelp/issues/32
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0d4eca1f4f3c9fe184bf6099701c6dd7416834c33c30c381e0316f52ab406d0b/javaee/javahelp/issues/32
og:image:altWe have a Java Desktop Application which uses JavaHelp library to show Help Content. From "Main Java Window", we launch another "JFrame Window". The later "JFrame Window" can be closed and opened s...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameglassfishrobot
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
go-importgithub.com/javaee/javahelp git https://github.com/javaee/javahelp.git
octolytics-dimension-user_id23086798
octolytics-dimension-user_loginjavaee
octolytics-dimension-repository_id89311664
octolytics-dimension-repository_nwojavaee/javahelp
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id89311664
octolytics-dimension-repository_network_root_nwojavaee/javahelp
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/javaee/javahelp/issues/32#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjavaee%2Fjavahelp%2Fissues%2F32
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjavaee%2Fjavahelp%2Fissues%2F32
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=javaee%2Fjavahelp
Reloadhttps://github.com/javaee/javahelp/issues/32
Reloadhttps://github.com/javaee/javahelp/issues/32
Reloadhttps://github.com/javaee/javahelp/issues/32
javaee https://github.com/javaee
javahelphttps://github.com/javaee/javahelp
Notifications https://github.com/login?return_to=%2Fjavaee%2Fjavahelp
Fork 14 https://github.com/login?return_to=%2Fjavaee%2Fjavahelp
Star 15 https://github.com/login?return_to=%2Fjavaee%2Fjavahelp
Code https://github.com/javaee/javahelp
Issues 40 https://github.com/javaee/javahelp/issues
Pull requests 0 https://github.com/javaee/javahelp/pulls
Actions https://github.com/javaee/javahelp/actions
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/javaee/javahelp/security
Please reload this pagehttps://github.com/javaee/javahelp/issues/32
Insights https://github.com/javaee/javahelp/pulse
Code https://github.com/javaee/javahelp
Issues https://github.com/javaee/javahelp/issues
Pull requests https://github.com/javaee/javahelp/pulls
Actions https://github.com/javaee/javahelp/actions
Security https://github.com/javaee/javahelp/security
Insights https://github.com/javaee/javahelp/pulse
Java Help 2_0_05 Memory Leak in FlatMaphttps://github.com/javaee/javahelp/issues/32#top
https://github.com/glassfishrobot
FlatMaphttps://github.com/javaee/javahelp/issues?q=state%3Aopen%20label%3A%22FlatMap%22
JavaHelphttps://github.com/javaee/javahelp/issues?q=state%3Aopen%20label%3A%22JavaHelp%22
Leakhttps://github.com/javaee/javahelp/issues?q=state%3Aopen%20label%3A%22Leak%22
Memoryhttps://github.com/javaee/javahelp/issues?q=state%3Aopen%20label%3A%22Memory%22
Priority: Criticalhttps://github.com/javaee/javahelp/issues?q=state%3Aopen%20label%3A%22Priority%3A%20Critical%22
Type: Bughttps://github.com/javaee/javahelp/issues?q=state%3Aopen%20label%3A%22Type%3A%20Bug%22
https://github.com/glassfishrobot
https://github.com/glassfishrobot
glassfishrobothttps://github.com/glassfishrobot
on Jun 7, 2011https://github.com/javaee/javahelp/issues/32#issue-224363676
http://download.java.net/javadesktop/javahelp/javahelp2_0_05.ziphttp://download.java.net/javadesktop/javahelp/javahelp2_0_05.zip
https://camo.githubusercontent.com/392b49ffa4da40bbf7403e4c6715cd7a31d8c8590ba3bfe261fc36b2f495d33f/68747470733a2f2f6a6176612e6e65742f6a6972612f696d616765732f69636f6e732f656d6f7469636f6e732f736d696c652e676966
http://www.oracle.com/technetwork/java/javase/downloads/index-jdk5-jsp-142662.html#docshttp://www.oracle.com/technetwork/java/javase/downloads/index-jdk5-jsp-142662.html#docs
glassfishrobothttps://github.com/glassfishrobot
FlatMaphttps://github.com/javaee/javahelp/issues?q=state%3Aopen%20label%3A%22FlatMap%22
JavaHelphttps://github.com/javaee/javahelp/issues?q=state%3Aopen%20label%3A%22JavaHelp%22
Leakhttps://github.com/javaee/javahelp/issues?q=state%3Aopen%20label%3A%22Leak%22
Memoryhttps://github.com/javaee/javahelp/issues?q=state%3Aopen%20label%3A%22Memory%22
Priority: Criticalhttps://github.com/javaee/javahelp/issues?q=state%3Aopen%20label%3A%22Priority%3A%20Critical%22
Type: Bughttps://github.com/javaee/javahelp/issues?q=state%3Aopen%20label%3A%22Type%3A%20Bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.