Skip to content

Significant memory consumption increase during merge seismograms after simulation #16

@dmitry-kabanov

Description

@dmitry-kabanov

ASOFI3D uses int types everywhere, which does not allow seismogram files larger than 4(?) GB.
This occurs, at least I believe so, because on Intel Xeon machines ints are 32-bit, hence upper bound for int is 2 billion.

Possible solutions:

  • Switch to using 64-bit integers using stdint.h header and type int64_t.

How to reproduce:

  • Prepare a config that induces very large seismograms: long time and large number of receivers
  • Simulate
  • Observe that the simulation crashes at some point.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions