Forum

Author Topic: How to use releaseFreeMemory() on Linux  (Read 1166 times)

stephan

  • Full Member
  • ***
  • Posts: 129
    • View Profile
How to use releaseFreeMemory() on Linux
« on: January 24, 2022, 05:56:31 PM »
Hey there,

As the title implies: does anyone know how to use releaseFreeMemory() ? I'm curious what that is for.

Cheers,

stephan

  • Full Member
  • ***
  • Posts: 129
    • View Profile
Re: How to use releaseFreeMemory() on Linux
« Reply #1 on: January 25, 2022, 03:24:27 PM »
To clarify: I know how to invoke the command that's listed in the API... I just don't understand when it would be necessary?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14837
    • View Profile
Re: How to use releaseFreeMemory() on Linux
« Reply #2 on: January 25, 2022, 09:33:37 PM »
Hello stephan,

The command has been implemented in the older version, when some algorithms/methods (not used in the actual Metashape version already) could lead to the memory leak on Linux.
Best regards,
Alexey Pasumansky,
Agisoft LLC

stephan

  • Full Member
  • ***
  • Posts: 129
    • View Profile
Re: How to use releaseFreeMemory() on Linux
« Reply #3 on: January 26, 2022, 03:03:10 PM »
Ahhh, that's good to know, thanks Alexey!