registrar eats RAM while unzipping
|Reported by:||shatty||Owned by:||bonefish|
|Has a Patch:||no||Platform:||x86|
I created a zip file of the haiku sources and added it to my haiku image. After starting my haiku image in vmware, I tried to unzip the zip file. As the file unzipped, the registrar consumed more and more memory until eventually haiku crashed.
I noticed that if I unzip part of my large zip file, it will consume memory and not free it when the unzip is finished. (assuming the unzip succeeds)
I tried killing the registrar and restarting it. It said: "REG: Registrar::ReadToRun(): Failed to init messaging service (that's by design when running under R5): Invalid Argument"
After doing this, I was able to unzip the file without the registrar consuming any memory.