Skip to content
Archive of posts tagged Memory

How Much Memory is Needed to Store a Log?

I’ve been looking a bit at log representations in ProM.  We are using the XES standard and the OpenXES implementation.  This was prompted by me wondering why ProM was so slow at handling logs.  Many of the things ProM did with logs, I could [...]

When Pointers Attack (or How to Save 26-36 bytes of Memory in a Week)

You may have noticed, I’m currently running experiments where I have a lot of small things.  So many, that I computed I had an overhead of 16 bytes apiece (12 bytes per state and 4 bytes for a pointer to it), and was too [...]

Memory-Efficiency in Java

I like to generate state-spaces.  I generate a lot of them.  And I have made the code efficient enough that I can generate very large ones.  Normally, when you code, using hundreds or even thousands of bytes for an object is no issue, but [...]

Memory Leaks in Java Code

I’m working on some Java code I’ve inherited.  I’m doing some speed improvements in critical places, and to test my improvements, I need test cases to compare different implementations.  Unfortunately, manually generating test cases is way too time consuming (need need thousands and generating [...]