Main Site Documentation

4.2 heap gone?


#1

I’m converting some old code from 4.1 to 4.2…the following had been put in place to increase buffer size:

       if (Configuration.Heap.SetCustomHeapSize(4 * 1024 * 1024))
                    {
                        // this will only take effect after resetting the system
                        PowerState.RebootDevice(false);
                    }

now with 4.2, the word Heap is underlined in red with:

Error 3 ‘GHI.Premium.Hardware.Configuration’ does not contain a definition for ‘Heap’

Is this no longer needed (or available)…or perhaps it resides in some other reference.


#2

It is fixed in 4.2. Simply delete that code please