We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3249cb8 commit f541454Copy full SHA for f541454
plugins/Debug_ReportMemory.js
@@ -10,11 +10,19 @@
10
* reservedCount: count of reserved Bitmaps
11
*
12
* All number should be stable.
13
- * If you find that It increases gradually, Please report to team!!
+ * If you find that It increases gradually after reaching limit, Please report to team!!
14
+ *
15
+ * @param Max Pixels In MPix
16
+ * @default 20
17
18
*/
19
20
(function(){
21
+ var parameters = PluginManager.parameters('Debug_ReportMemory');
22
+ var pixels = +parameters['Max Pixels In MPix'] || 20;
23
+
24
+ ImageCache.limit = pixels * 1024 * 1024;
25
26
var div = document.createElement('div');
27
div.style.backgroundColor = 'AliceBlue';
28
div.style.position = 'fixed';
0 commit comments