https://issues.apache.org/bugzilla/show_bug.cgi?id=54990

Sebb <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #8 from Sebb <[email protected]> ---
Thanks for the stacktrace etc.

Looks like the memory allocation must be in the native method, as that is what
causes the OOME in the stacktrace.

So I did some research and it seems that native code which accesses a Java
array may involve copying the array (depending on the JVM):

http://docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/design.html#wp1265

This is obviously a general issue with passing large arrays to native methods,
and presumably affects many other file operations as they are likely to end up
calling native methods.

Need to check whether there are other parts of JMeter that can write (or
possibly read) large arrays.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to