Skip to content

Memory record feature of develop branch is broken #6883

@dyzheng

Description

@dyzheng

Describe the bug

I have recently tested the develop branch and identified a critical bug: the memory usage recorded by the program is significantly lower than the actual memory consumption. Referring to the test records in issue #6880, the memory usage reported by the develop branch is nearly an order of magnitude less than the actual value, whereas the memory recording in v3.10.0 remains almost accurate.

Expected behavior

No response

To Reproduce

Case: test/performance/P105_si512_lcao
I change lattice_constant to 0.5 and scf_nmax 1 and symmetry 0 to test force and stress and memory record.

Environment

No response

Additional Context

No response

Task list for Issue attackers (only for developers)

  • Verify the issue is not a duplicate.
  • Describe the bug.
  • Steps to reproduce.
  • Expected behavior.
  • Error message.
  • Environment details.
  • Additional context.
  • Assign a priority level (low, medium, high, urgent).
  • Assign the issue to a team member.
  • Label the issue with relevant tags.
  • Identify possible related issues.
  • Create a unit test or automated test to reproduce the bug (if applicable).
  • Fix the bug.
  • Test the fix.
  • Update documentation (if necessary).
  • Close the issue and inform the reporter (if applicable).

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