Skip to content

maximum ram usable is 96000  #1163

Closed
Closed
@manecolooper

Description

@manecolooper

maximum ram usable by my sketch is 96000 , i defined it as:

#define MAX_DELAY 96000
byte sDelayBuffer0[MAX_DELAY];

if i define more than that , error is

region `dram0_0_seg' overflowed by 24064 bytes ( i set MAX_DELAY to 128000)

compiler reports that there is more ram free, how can i use it?

Serial.println(ESP.getFreeHeap());

returns 127336

i also tested malloc , new and dividing the memory needed into two segments, but crashes the same ( reset loop ) when sum of both segments exceed 96000

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: StaleIssue is stale stage (outdated/stuck)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions