| [platform-core-dev] How much memory can a Workspace take? |
Hi fellow committers,
I got a report about an OutOfMemoryError generated during a Workspace Refresh operation. When looking at the .hprof file with the MemoryAnalyzer, it turned out that pretty much all the memory was taken by core/Workspace only:
The workspace was arguably very large, but still I am surprised
Do my numbers sound reasonable, or could there be a bug that leads the Workspace to take an excessive amount of memory? How much memory do we expect a workspace to take for, say 50000 files? How much *additional* memory may a workspace delta take that is generated during a Refresh? Would any additional investigation using the Coretools make sense at this point?
I can make the .hprof file available on request (it's a 200MB ZIP file).
Many thanks for any pointers!