Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dungeon Defenders - Memory Leak + CellGem log spam [NPEB00652] #5616

Closed
MsDarkLow opened this issue Jan 31, 2019 · 6 comments
Closed

Dungeon Defenders - Memory Leak + CellGem log spam [NPEB00652] #5616

MsDarkLow opened this issue Jan 31, 2019 · 6 comments

Comments

@MsDarkLow
Copy link
Contributor

rpcs3-v0.0.5-7768-400718df_win64

Windows 10 | i7-8700K @ 4.7GHz | GTX 1070 | 16GB RAM

As the title says, there is a memory leak, which after a few minutes of gameplay (like 15 or more) will cause the emulator to completely freeze but music and sound effects are still normal.
This issue has been in the game since it has become ingame (+1 year).
crash

Example of the memory leak without me doing anything in the game
Video: https://youtu.be/wQOoPg0bPA4

The log also spams a lot about about cellGem (Also shown in the video).
U {PPU[0x1000000] Thread (main_thread) [0x0131f694]} cellGem TODO: cellGemGetInfo(info=*0xd0040180) U {PPU[0x1000000] Thread (main_thread) [0x01322414]} cellGem TODO: cellGemGetState(gem_num=7, flag=0x0, time=0xffffffffffffaa10, gem_state=*0xd0040000) U {PPU[0x1000000] Thread (main_thread) [0x01322334]} cellGem TODO: cellGemGetInertialState(gem_num=7, state_flag=0, timestamp=0x0, inertial_state=0xd003ff90) U {PPU[0x1000000] Thread (main_thread) [0x00b02688]} cellNetCtl TODO: cellNetCtlGetNatInfo(natInfo=*0x225d0098)

Examples:

  1. Before I get into the main menu
    1
  2. When I reach the main menu and onward
    2

Log: RPCS3DungeonDefendersMemoryLeak.log.gz
Force shutdown log: DungeonDefendersMemeryLeakCrask.log.zip

@weter11
Copy link

weter11 commented Jan 31, 2019

Resident Evil 0 (NPEB02226) also have memory leak. Visually game looks correct except shadows from protagonists and enemies.
kd-11 maybe that race conditions in shadows produced by memory leak? Is it possible to disable dynamic shadows in a game?

@MsDarkLow
Copy link
Contributor Author

Small update: The memory leak doesn't occur if the log level is set to Fatal

@uaqlover
Copy link

uaqlover commented Apr 8, 2019

NBA 2K11 has same issue #5805

@elad335
Copy link
Contributor

elad335 commented Apr 10, 2019

in those cases where the log spams so bad memory consumption is getting enurmous, turning the log off in gui wouldnt be a bad solution here, and it can also have a limit of buffer size before old messages are deleted.
This can also be linked with #5113.

@elad335
Copy link
Contributor

elad335 commented Dec 20, 2019

Retest with #7116

@MsDarkLow
Copy link
Contributor Author

Retest with #7116

With the PR, the user should no longer need to manually set the log to Fatal to avoid the Memery Leaks, thus this Issue may be closed once its merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants