Projects > cpp > Issues > Feature #4536

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Console: add "memory warning" feature

Feature #4536 [Closed]
ricardo 2014-03-24 23:27 . Updated over 4 years ago

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

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

zhangxm 2014-05-20 06:59

Why add this command in Console?

ricardo 2014-05-20 15:32

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.

zhangxm 2014-05-24 12:55
  • Target version changed from v3.1 to v3.2
zhangxm 2014-06-25 03:53
  • Target version changed from v3.2 to Candidate 2014-10-08 02:45

Redmine issue system is closed, we are using github issue system instead.

This issue was moved to

Atom PDF

Start date:2014-03-24
Due date:
% Done:


Target version:Candidate