Closed takashi-ishio closed 2 years ago
The problem is also related to the buffer behavior. By default, buffers keep object references; in other words, GC cannot discard objects created by a target program.
I have fixed the problem as follows.
size=
).
A user told me that a test execution of Apache Commons-Lang with
format=nearomni,size=60000,weave=LINE
does not complete. I could reproduce the problem. The problem does not occur when the buffer is the default size.The problem is likely caused by the current implementation allocating a fixed-size buffer for each program location. Each buffer size requires 20 bytes x the value of
size=
option. Whensize=60000
, 1.2MB per location is required. In case of Commons-Lang, more than 50000 locations exist. I estimated that the required memory is around 60GB. The memory consumption may cause the following behavior.SELogger needs a special procedure (at least terminating the execution) when reached OutOfMemory.