Quantcast
Channel: Adobe Community: Message List - Memory issue when Loading an asset with URLRequest from a remote location
Viewing all articles
Browse latest Browse all 32

Memory issue when Loading an asset with URLRequest from a remote location

$
0
0

I just noticed something odd today while profiling:

 

when I do this:

 

var loader:Loader = new Loader();

loader.load( new URLRequest( fileUrl ) );

 

If the fileUrl is loaded from a relative url directly on my machine then everything is fine, although if fileURL is a remote asset (Http:// etc...)

I notice a drammatic spike in memory in "Function".

 

I cannot explain what is going on, those are the exact same file and whitout bytecode in it (no code, no linkages, no classes).

 

Literally the only difference is that one is loaded from my machine and the other from the internet.

 

In my case I had Function memory less than 1MB if i load locally, more than 25MB if I load on internet.

 

What is going on, I have never noticed anything like this.


Viewing all articles
Browse latest Browse all 32

Trending Articles



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