Equivalent for .NETMF 'remainingRam = Debug.GC(false);' in TinyCLR

Hello, I searched for a while but couldn’t yet find the TinyCLR equvalent for the command: remainingRam = Debug.GC(false);

Is there an equivalent command and which is the namespace

Kind Regards

RoSchmi

I have been asking for this as well.

1 Like

LOL, whom did you ask? However it means that there is actually no way to read the remaining ram and to force a GC action at a certain place in code?

Take a look at UsedBytes and FreeBytes in GHIElectronics.TinyCLR.Native.Memory in the GHIElectronics.TinyCLR.Native nuget.

2 Likes

Thanks John, I’m sorry that I have to ask so much. TinyCLR is still new and searches in the forum often do not give the needed information. I think that there isn’t yet a complete Class Library?

No worries, we’re always happy to help. The libraries are complete at their core but we’re still working on getting the additional commercial features added. If you find something missing just let us know.

DOOOOOOOOOOCS… we are working on it. Check github if you can’t wait.

2 Likes

We can’t wait of course ! :wink:
It’s very a good point that all is on GitHub: we can see it even if it isn’t yet published.

1 Like