Memory issue caused by cbuf array, maybe to large?

Description

When compiling I think that this part of my code results in memory overflow

#define CANVAS_WIDTH  640 ///320
#define CANVAS_HEIGHT  480 //240

    static lv_color_t  cbuf[LV_CANVAS_BUF_SIZE_TRUE_COLOR (CANVAS_WIDTH, CANVAS_HEIGHT)];

This is my error code
/private/var/folders/q9/37r6btk924v7t1sk4_dm49340000gn/T/arduino/sketches/2B578C92A54E27C18B8BE3261B69F45B/linker_script.ld:116 cannot move location counter backwards (from 0000000024146c48 to 000000002407fc00)
collect2: error: ld returned 1 exit status

Reading a lot of posts on this forum I believe it might has to do with a setting in lv_conf.h but I am not sure. Maybe this part of the settings file

/*1: use custom malloc/free, 0: use the built-in `lv_mem_alloc()` and `lv_mem_free()`*/
#define LV_MEM_CUSTOM 0
#if LV_MEM_CUSTOM == 0
    /*Size of the memory available for `lv_mem_alloc()` in bytes (>= 2kB)*/
   // #define LV_MEM_SIZE (48U * 1024U)          /*[bytes]*/
    #define LV_MEM_SIZE (1024U * 1024U)          /*[bytes]*/

    /*Set an address for the memory pool instead of allocating it as a normal array. Can be in external SRAM too.*/
    #define LV_MEM_ADR 0     /*0: unused*/
    /*Instead of an address give a memory allocator that will be called to get a memory pool for LVGL. E.g. my_malloc*/
    #if LV_MEM_ADR == 0
        #undef LV_MEM_POOL_INCLUDE
        #undef LV_MEM_POOL_ALLOC
    #endif

#else       /*LV_MEM_CUSTOM*/
    #define LV_MEM_CUSTOM_INCLUDE <stdlib.h>   /*Header for the dynamic memory function*/
    #define LV_MEM_CUSTOM_ALLOC   malloc
    #define LV_MEM_CUSTOM_FREE    free
    #define LV_MEM_CUSTOM_REALLOC realloc
#endif     /*LV_MEM_CUSTOM*/```

Could someone help me with a setting so that I can increase the size of my chuff array?
Many thanks

###  What MCU/Processor/Board and compiler are you using?
Arduino Giga R1 and Arduino IDE compiler
### What LVGL version are you using?
8.3
###  What do you want to achieve?
Get my code compiled with a larger cbuf.

### What have you tried so far?
Reading and a lot of trial and error in my code.