Skip to content

[browser] tests and fixes for heap larger than 2GB #104618

@pavelsavara

Description

@pavelsavara

WBT

  • set <EmccMaximumHeapSize>4294901760</EmccMaximumHeapSize>
  • allocate large arrays in order to deplete memory below 2GB
  • after that
    • test marshaling array of string via JSImport
    • call some method many times to trigger interp tier-up and jiterp

Potential fixes needed

  • convert all results of Module._malloc from int to uint
    • in jiterp
    • in JS interop

See also #99114

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions