OpenShot Library | libopenshot 0.5.0
Loading...
Searching...
No Matches
Namespaces | Functions
MemoryTrim.cpp File Reference

Cross-platform helper to encourage returning freed memory to the OS. More...

#include "MemoryTrim.h"
#include <atomic>
#include <chrono>
#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  openshot
 This namespace is the default namespace for all code in the openshot library.
 

Functions

bool openshot::TrimMemoryToOS (bool force=false) noexcept
 Attempt to return unused heap memory to the operating system.
 

Detailed Description

Cross-platform helper to encourage returning freed memory to the OS.

License

Definition in file MemoryTrim.cpp.