Quantcast
Channel: Adobe Community : Unanswered Discussions - Photoshop
Viewing all articles
Browse latest Browse all 74445

ESTK keeps the entire session in Memory?

$
0
0

Hi,

apparently every script that you launch in ESTK is kept in memory - I wonder if this is designed.

 

As an example (there is more in this topic) create two separate script files, and run the first, then the second, against ESTK:

 

The first file:

 

var first = new Object();
$.writeln(typeof first); // object

 

and the second file:

 

var second = new Object();
$.writeln(typeof first); // object

 

Of course the second should say "undefined". To doublecheck that I've not poisoned the global space, I've tried:

 

$.writeln($.global.toSource()); // ({})

 

Unless you reboot ESTK, the all the vars are kept in memory no matter what script you're working on - except you explicitely set them to null or undefined.

I've run into this behavior casually - is it documented somewhere os should we file a bug?

Thanks

 

Davide Barranca

www.davidebarranca.com


Viewing all articles
Browse latest Browse all 74445

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>