SDRAM Usage of the GIGA Shield

I am using the current Arduino IDE 2.x.x

I am Using the Arduino GIGA r1 Wifi, with the GIGA Display Shield

I have taken the built in example from:  FILE | EXAMPLES | Arduino_H7_Video | ArduinoLogo

and added the following code after the line: “Display.endDraw();”


pDatabaseHead1 = (unsigned char*)SDRAM.malloc(1 * 1024 * 1024);

Serial.print(F(" pDatabaseHead1: "));

Serial.println((unsigned int)pDatabaseHead1, HEX);


and the pDatabaseHead1 Value prints: 6050000C

and if I run another sketch with out the Giga Display Shield that only does the Above malloc call, I get the malloc call returning: 6000000C

Why is the GIGA Display Shield taking some 5 MB of SDRAM?  Can its SDRAM usage be reduced? I am attempting a data collection application that takes a lot of SDRAM with a GUI interface on the GIGA Display.

Thanks

You have missed almost all information requested. Please read and use this link: How to get the best out of this forum - Development Tools / IDE 1.x - Arduino Forum

@lapowels ,

Your other topic on the same subject deleted.

Please do not duplicate your questions as doing so wastes the time and effort of the volunteers trying to help you as they are then answering the same thing in different places.

Please create one topic only for your question and choose the forum category carefully. If you have multiple questions about the same project then please ask your questions in the one topic as the answers to one question provide useful context for the others, and also you won’t have to keep explaining your project repeatedly.

Repeated duplicate posting could result in a temporary or permanent ban from the forum.

Could you take a few moments to Learn How To Use The Forum

It will help you get the best out of the forum in the future.

Thank you.

I have updated the initial post to include the IDE version and Hardware that I am using

Thanks

Hardware: Arduino Giga R1 WIFI & Arduino Giga Display

Arduino IDE :2.3.8

Libraries: "Arduino_H7_Video.h" & "ArduinoGraphics.h"

Overall Goal: Reduce the SDRAM usage consumed by the GIGA Display

A basic sketch takes some 5Mbits of SDRAM.

Question:

  1. I have read that by Reducing Color Depth one can save on SDRAM consumption. I have not found a example that demonstrates this. Can you point me to any examples?
  2. Reduce Display Resolution is another Idea I have found, but is this the Displays Screen pixel size? Can one reduce the display resolution separate from the displays pixel size?

Thanks