Hi all,
How can I allocate memory in Python and convert that into Physical memory?
I am trying to use CTYPES, but somehow not able to load the required system libraries to use malloc type of system call.
Thanks,
David

Recommended Answers

All 3 Replies

As far as I understand it, Python has a very efficient builtin memory manager and user memory allocation is not need or wanted.

But that built-in memory manager does not take care of physical memory.

Python was not written to do such low level system operations. That sort of thing is the level of C or C++.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.