Skip to content

Exception System.OutOfMemoryException - CLR_E_OUT_OF_MEMORY (1) ++++ ESP32-D0WD-V3 Flash size 16MB W25Q128_V PSRAM: 8MB #1614

Answered by alberk8
Balashoffs asked this question in Q&A
Discussion options

You must be logged in to vote

Try to initialize the screen with enough memory since you have PSRAM. The example below will allow to create 3 full screen of graphics.

 var ret = DisplayControl.Initialize(
     displaySpiConfig,
     screenConfig,
     (uint)(200 * 200 * 4) * 3);

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@Balashoffs
Comment options

@alberk8
Comment options

@Balashoffs
Comment options

Answer selected by Balashoffs
Comment options

You must be logged in to vote
1 reply
@alberk8
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants