{"id":16064729,"url":"https://github.com/eldruin/reservebottommemory","last_synced_at":"2026-06-30T16:31:51.075Z","repository":{"id":144893996,"uuid":"103106815","full_name":"eldruin/ReserveBottomMemory","owner":"eldruin","description":"Reserve all of the bottom memory to force allocations to start above the 4GB line. This can easily expose 64-bit compatibility issues.","archived":false,"fork":false,"pushed_at":"2017-09-19T14:38:41.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-24T14:39:08.448Z","etag":null,"topics":["64bit","allocation","cplusplus","debug"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eldruin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-09-11T07:58:10.000Z","updated_at":"2023-07-27T13:53:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"e77b1ad7-6205-4dc0-a746-bdac8cd11f43","html_url":"https://github.com/eldruin/ReserveBottomMemory","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"8e8e5c467eac7ef9f9a471d47abbb917d5c8daa5"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/eldruin/ReserveBottomMemory","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldruin%2FReserveBottomMemory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldruin%2FReserveBottomMemory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldruin%2FReserveBottomMemory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldruin%2FReserveBottomMemory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eldruin","download_url":"https://codeload.github.com/eldruin/ReserveBottomMemory/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldruin%2FReserveBottomMemory/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34975668,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-30T02:00:05.919Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["64bit","allocation","cplusplus","debug"],"created_at":"2024-10-09T05:09:17.307Z","updated_at":"2026-06-30T16:31:51.050Z","avatar_url":"https://github.com/eldruin.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReserveBottomMemory\nReserve all of the bottom memory to force allocations to start above the 4GB line.\n\nThis can easily expose compatibility issues when porting 32-bit code to 64 bit.\n\nThe original code was taken from: https://randomascii.wordpress.com/2012/02/14/64-bit-made-easy/\n\n## How to use\nCall `ReserveBottomMemory()` as early as possible in your process and\n`FreeBottomMemory()` at the end.\n\n## How to build\nRunning cmake will create a VisualStudio solution with a shared library\ncalled `ReserveBottomMemory` and its tests.  \nYou can build them and run the tests as usual with cmake solutions.\n\n## Integration into your project\nYou can either:\n- Build the shared library with cmake as described above and link to it in your\n  project.\n- Include the source file directly in your project.\n- If you want to use some other build system just create a shared library\n  with the source and header file and define `RESERVEBOTTOMMEMORY_SOURCE`\n  to export the symbols.\n\n## Tests\nTests have been added to check that after calling `ReserveBottomMemory()`\nallocations return high memory addresses.  \nSee the `tests` folder.\n\n## Platforms supported\nCurrently only 64-bit Windows is supported.\n\n## License\nApache License 2.0  \nhttp://www.apache.org/licenses/LICENSE-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feldruin%2Freservebottommemory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feldruin%2Freservebottommemory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feldruin%2Freservebottommemory/lists"}