my fault -- my memory is weak, or maybe it's going soft. definitely should be soft references here as it's meant to be GC'd when memory is full, not when references are lost.

--a


On 25/09/2014 14:57, Aled Sage wrote:
Hi Zaid,

The stdin, stdout and stderr are now weak references, so their content is deleted on the first full GC.

Talking to @grkvlt about this, arguably they are deleted far quicker than is ideal. Andrew suggested we could use SoftReference [1,2] instead of WeakReference. That sounds like a good idea to me.

Thoughts?

Aled

[1] http://docs.oracle.com/javase/7/docs/api/java/lang/ref/SoftReference.html [2] http://stackoverflow.com/questions/299659/what-is-the-difference-between-a-soft-reference-and-a-weak-reference-in-java


On 25/09/2014 14:48, Zaid Mohsin wrote:
Hi, when creating an entity with the latest build and going to the activity pane to see the stdin log, I only get this output:

<contents-garbage-collected>

Am I missing something here?

Regards



Reply via email to