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

Console: add "memory warning" feature #8382

Closed
minggo opened this Issue Sep 30, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@minggo
Contributor

minggo commented Sep 30, 2014

Note

This issue is migrated from here. It was created at 2014/03/24 23:27:41 +0000

Description

Add a command into the console that simulates a "memory warning".

The memory warning should emulate the "memory warning" signal.

  • zhangxm added comment:
    Why add this command in Console?
  • ricardo added comment:
    Why not?

This is very useful to test your game, and see how it react under memory pressure.
iOS triggers this event when memory is low, and cocos2d should free uneeded memory.
This command is to simulate that event.

@minggo minggo closed this Dec 11, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment