FossilsArcheologyRevival / FossilsArcheology

Fossils and Archeology mod for Minecraft Forge. Forked from Flammarilva/Team July's work.
21 stars 20 forks source link

Ticking Entity Crash - fossil.entity.mob.EntityRaptor #75

Closed PoetPlays closed 11 years ago

PoetPlays commented 11 years ago

My game has crashed 5 times now after around 10 minutes of playing. Memory usage for Java goes up to 2GB (of which only 1GB is allocated) and climbs until the crash occurs.

A Gist of the crash report: https://gist.github.com/PoetPlays/5079170

Of course one solution would be to allocate more memory (beyond 2GB ideally), but that only lasts until the ticking entity eats up the amount you allocate.

Shadowbeast commented 11 years ago

The Problem is it can be any Memory Leak in the Code. The Raptor can just have been at the wrong place at the wrong time. Nonetheless we'll try to fix that.

PoetPlays commented 11 years ago

For the record, I just had another crash under 0002 revision and the ticking entity was again a velociraptor.

4f6f3b commented 11 years ago

Hmm. Can you describe exactly what was happening?

PoetPlays commented 11 years ago

Nothing special. In every instance I was in a different area of the world (different chunks, far away chunks even) and the game suddenly gets sluggish as the RAM is eaten up by the memory leak. Not performing any kind of action..... In two cases I was just standing still when the crashes happened.

The game freezes for an extended amount of time before the game crashes (like the above attached crash report shows).

When I re-open the world, one of the raptors has been removed.

Tomorrow I'm posting a video in which the crash actually happened while I was recording.

Shadowbeast commented 11 years ago

Ill look into this today. try to fix that for 0003

4f6f3b commented 11 years ago

At least for build 3, last night I created a pen with a dozen or so velociraptors, and they've been growing and breeding without any issues. This is running on a server and that reports nothing strange with RAM usage.

Does the problem persist after you re-open the world? If it does it'd be nice to have that world.

gjr888 commented 11 years ago

this is happening to me too! and the same error with the ticking raptor so its not just a coincidence.. i don't think... this also happened with my Brachiosaurus and then i deleted the world out of frustration.

Shadowbeast commented 11 years ago

I need more details to what the problem is. Upload a world where the bug occurs. Tell me what you exactly did. The problem can be everywhere..i need a point to start at!

gjr888 commented 11 years ago

4f try doing a single player world and spawning only like 3 raptors... and don't use essence of chicken on em! (put em in a cage 2!

PoetPlays commented 11 years ago

I couldn't get a world downloaded for you guys tonight. Like gjr888 I also only had 3 raptors in a small caged off area in my world. My world has been constantly updated since 1.3.2 which, if the world is to blame, could be at fault.

gjr888 commented 11 years ago

i had a new world generated during build 002 and it happened... going to check build 003 to see if it still happens

4f6f3b commented 11 years ago

No problem. http://www.minecraftforum.net/topic/1708636-147sspsmp-fossils-and-archeology-revival-147-build-0003-preview-updated-march-12-2013/

Build 3 preview has been released (it's a lot better than build 1 preview :P ) so test on that if you can.

gjr888 commented 11 years ago

O.K. thanks :) so final release this week is what i heard, yes? Oh and BTW it is not just Velociraptors that disappear for me.. also Plesiosaurs and Brachiosaurs and Tryranosaurs. In build 002

gjr888 commented 11 years ago

I cannot test it out right now... sorry... My Minecraft is glitching out so... i will wait for my new laptop to try the bug out

gjr888 commented 11 years ago

Can someone else test this for me?

gjr888 commented 11 years ago

well i got the build 003 preview to test out the velociraptors... but nothing had names! and everything started glitching out (not raptors fault) so i will try it out later :P

PoetPlays commented 11 years ago

Playing build 0003 on both server and client for a while now and it has yet to crash with this memory leak. Fixed somehow?

PoetPlays commented 11 years ago

Recently hatched a huge amount of raptors and dilophosaurs to try to expose the memory leak and still no crashing or excessive memory usage. I'm going to close this...