10-20-2012, 04:59 AM
I've just noticed that the official MC got a lot of generator customization in the latest weekly snapshots. But nowhere near MCS's customization
Random Chitchat 2012-2016
|
10-20-2012, 04:59 AM
I've just noticed that the official MC got a lot of generator customization in the latest weekly snapshots. But nowhere near MCS's customization
10-20-2012, 07:27 AM
It seemed to me that MCServer is using a bit too much memory (600 MiB for a single player), so I decided to tweak the leak finder to give me a detailed report on what memory was allocated. I made it into a server console command, and ran it. It started dumping to a file, and has been dumping for 10 minutes already. I wonder how long it'll take
10-20-2012, 07:30 AM
I thought it was just me,
I noticed even on idle it often used around 800mb on linux :p.
10-20-2012, 07:35 AM
oh yeah! It took 15 minutes and produced a 300 MiB XML file that no program is able to open
10-20-2012, 07:37 AM
notepad+
10-20-2012, 07:55 AM
Yeah Notepad++ will open it, though it will have trouble
10-20-2012, 07:58 AM
It does open the file, and it even does proper collapsing, which is what I needed. Though it eats up 1 GiB of RAM for that and the collapsing takes some 5 minutes
I've come to the conclusion that the memory usage is caused by the leak finder - for each 12 bytes that the Lua engine requests it stores the entire stack, thus inflating the overall memory footprint several-times-fold. When I compiled in Release mode (without the leakfinder), the memory usage didn't reach even 100 MiB.
10-20-2012, 08:04 AM
lol duh I was already worried you guys were talking about Release mode, that would be bad!
10-20-2012, 08:06 AM
Weird,
For linux i use release=1 and it does run in release as i dont get the debug messages. Yet i noticed it sometimes using up to 800mb ram with nobody online. And crashing with basic stuff as digging..
10-20-2012, 08:07 AM
Still, even in Debug the memory footprint has never been this large.
Anyway, here's a screenshot from my testing. I call it "the nightmare" Had spawned about a thousand of them. |
« Next Oldest | Next Newest »
|