{"id":20225232,"url":"https://github.com/lubrum/java-sublist-memory-leak","last_synced_at":"2025-03-03T12:44:28.491Z","repository":{"id":259712423,"uuid":"872130093","full_name":"Lubrum/java-sublist-memory-leak","owner":"Lubrum","description":"Examples of memory leaks in Java sublist method","archived":false,"fork":false,"pushed_at":"2024-10-27T13:01:45.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T23:26:42.775Z","etag":null,"topics":["java","memory-leak","sublist"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lubrum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-13T21:12:57.000Z","updated_at":"2024-10-27T13:01:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"0ac9f151-f887-49d4-8917-9fca6af7baf1","html_url":"https://github.com/Lubrum/java-sublist-memory-leak","commit_stats":null,"previous_names":["lubrum/java-sublist-memory-leak"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lubrum%2Fjava-sublist-memory-leak","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lubrum%2Fjava-sublist-memory-leak/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lubrum%2Fjava-sublist-memory-leak/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lubrum%2Fjava-sublist-memory-leak/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lubrum","download_url":"https://codeload.github.com/Lubrum/java-sublist-memory-leak/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241670090,"owners_count":20000325,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","memory-leak","sublist"],"created_at":"2024-11-14T07:11:48.750Z","updated_at":"2025-03-03T12:44:28.408Z","avatar_url":"https://github.com/Lubrum.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\t\u003ch1\u003eJava sublist memory leak example\u003c/h1\u003e\n\u003c/div\u003e\n\n##  Objective\n\nThis project show how it is possible to have memory leak problems using sublist method from java.util.List.\n\n## Executando o projeto\n\n➡️ **Project clone**\n```bash\ngit clone https://github.com/Lubrum/java-sublist-memory-leak.git\n```\n\n➡️ **Go to the new folder**\n```bash\ncd java-sublist-memory-leak\n```\n\n➡️ **Run commands below**\n```bash\njavac src/ObjectSizeFetcher.java\njar cmf MANIFEST.MF object-size-fetcher.jar src/ObjectSizeFetcher.class\n```\n\n➡️ **Add following arguments before run or run 'start' on IntelliJ**\n```bash\n-Xms200m -Xmx200m -javaagent:/home/lu/sys/memory-leak/java-sublist/out/artifacts/java_sublist_jar/java-sublist.jar\n```\n\nExplained in portuguese (PT-BR) in this video: https://youtu.be/6zn4k8S-By4","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flubrum%2Fjava-sublist-memory-leak","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flubrum%2Fjava-sublist-memory-leak","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flubrum%2Fjava-sublist-memory-leak/lists"}