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 about 10 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
walzer@cocos2d-x.org 2014-10-08 02:45

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

This issue was moved to https://github.com/cocos2d/cocos2d-x/issues/8382

Atom PDF

Status:Closed
Start date:2014-03-24
Priority:Normal
Due date:
Assignee:-
% Done:

0%

Category:-
Target version:Candidate