Journal of Operating Systems Development & Trends
An Optimized Memory Allocation and Deallocation Method while Programming in Python
Abstract
AbstractMemory management is memory allocation and deallocation for objects done automatically at run time in Python. Programmers need not allocate or deallocate memory explicitly. Python Virtual Machine (PVM) handles these activities. Every Python object is stored in its own way, that is, different objects are stored in different methods. Reference counting algorithm is used for memory management in Python.Keywords: Allocation, deallocation, PVM, reference countingCite this ArticleS.S. Sugantha Mallika, I. Mettildha Mary, M. Priyadharshini, N. Balaji. An Optimized Memory Allocation and Deallocation Method while Programming in Python. Journal of Operating Systems Development & Trends. 2019; 6(1): 1–6p.References (14)
- Memory management in various languages: https://www.memorymanagem ent.org/mmref/lang.html
- Stephen Gilmore. Advances in Programming Languages: Memory Management. The University of Edinburgh; Jan 15, 2007.
- C Programming Language: Memory Management: Application to Arrays. CAAM 519, Chapter 7, LOIC CAPPANERA.
- https://www.slideshare.net/nnja/memory- management-in-python-the-basics
- Nageswara Rao R. Core Python Programming. Dreamtech Press; 2017.
- https://www.youtube.com/watch?v=arxWa w-E8QQ
- Mark Lutz. Learning Python. 5th Edn. O’Reilly Publishing; 2013.
- https://medium.com/@tyastropheus/tricky- python-i-memory-management-for- mutable-immutable-objects- 21507d1e5b95
- https://stackoverflow.com/questions/4814 4599/memory-allocation-for-immutable- objects
- Goodrich Michael T, Roberto Tamassia, Goldwasser Michael H. Data Structures and Algorithms in Python. Wiley; 2013.
- https://www.journaldev.com/17927/pytho n-garbage-collection-gc
- Python Software Foundation [US]: https://docs.python.org
- https://stackoverflow.com/questions/4495 60/how-do-i-determine-the-size-of-an- object-in-python
- https://code.tutsplus.com/tutorials/understa nd-how-much-memory-your-python- objects-use--cms-25609 Cite this Article S.S. Sugantha Mallika, I. Mettildha Mary, M. Priyadharshini, N. Balaji . An Optimized Memory Allocation and Deallocation Method while Programming in Python . Journal of Operating Systems Development & Trends. 2019; 6(1): 1–6p.