Markus
2008-03-30 07:41:56
Got the solution I think: the reason SMART crashes when running multiple with the same plugin, is because DLLs share memory. This will cause the JVM to get confused and thus crashing (according to Ben).
The solution is to load every DLL separately in the memory, that's what you do when running multiple SCARs, but there's another way to accomplish this:
Some of you might've heard of the packer UPX, which compresses EXEs, DLLs, etc. One of the cons about UPX is that, when it compresses the DLL, it disables the memory sharing part of DLLs, making it (for normal applications), pretty inefficient. But here's the trick: If we use UPX at SMART, it'll load the plugin again every time we load SCAR. This means that all SMARTs don't share their memory, thus not causing any conflicts. I've been running 7 for around 2 hours now, so I think this works :)
Summary: Using UPX at the SMART DLL will solve the problem of crashing when using same SCAR+Plugin.
The solution is to load every DLL separately in the memory, that's what you do when running multiple SCARs, but there's another way to accomplish this:
Some of you might've heard of the packer UPX, which compresses EXEs, DLLs, etc. One of the cons about UPX is that, when it compresses the DLL, it disables the memory sharing part of DLLs, making it (for normal applications), pretty inefficient. But here's the trick: If we use UPX at SMART, it'll load the plugin again every time we load SCAR. This means that all SMARTs don't share their memory, thus not causing any conflicts. I've been running 7 for around 2 hours now, so I think this works :)
Summary: Using UPX at the SMART DLL will solve the problem of crashing when using same SCAR+Plugin.