15 Commits (23240efa63104924b9c274307eda31037f220f1a)

Author SHA1 Message Date
Chris Lu c9a183eb69 refactor memory map related code 5 years ago
j.laycock eb27c2b037 Make releaseMemory private and return byte array instead, fix other platform compilation issues, reduce in-memory chunk size. 5 years ago
j.laycock d5f5acb734 limit locking physical memory to 80% of max physical memory 5 years ago
j.laycock 476140fd6b minor change to setProcessWorkingSetSize function 5 years ago
j.laycock c1a928887a Add some comments/documentation 5 years ago
j.laycock 15a4c91c28 Remove Finalizer 5 years ago
j.laycock 9c9dff7386 Virtual lock memory pages and Set Process Working set size to hint to windows harder not to write pages to disk as much, add finalize function, minor renaming 5 years ago
j.laycock 63acc8c972 rename mem_buffer to mBuffer 5 years ago
j.laycock 4257582db5 Allocate in 16MB chunks, make creation of memory maps always aligned to 16MB chunks 5 years ago
j.laycock cc756ddd79 Rename End_of_file variable, implement platform indepenent memory_map.go 5 years ago
j.laycock 1f01eb78e8 Rename mem_map to mMap, remove some in_memory variables being passed around, added MemoryMapped member to volume struct 5 years ago
j.laycock 840ccdc35d Refactor to pass memory maps by reference instead of value, fix memory maps not being created properly or written to properly 5 years ago
j.laycock dc50701e7d Overload createFile function, expose File in memory_map struct, delete from memory_map map on delete 5 years ago
j.laycock 523f3a12b3 use Os.File/uintptr instead of windows.Handle in memory map struct 5 years ago
j.laycock 0e5d3b1a70 Move memory_map_windows to new folder, intercept most of the read and write calls to volume dat files 5 years ago