In deploy/src/plugin/solaris/nscore/remotejni.cpp, there are several places where call malloc but don't call free. The affected methods are: jni_CallStaticVoidMethodV DEFINE_CAPTURESCALARARRAYELEMENTS DEFINE_SETSCALARARRAYELEMENTS jni_NewString jni_NewStringUTF jni_CSecurityContextImplies When doing liveconnect call, mozilla will call jni_NewString to convert js string to java string, sometimes, the js string is very large, it will cause serious mozilla memory growth. This problem also exists in 1.4.2.
|