Moad Computer, the actionable insights company
  • Home
  • Contact
  • Shop
  • Blog
  • Home
  • Contact
  • Shop
  • Blog
Search

Actionable Insights blog




Using Pickle to manage memory in Python

12/30/2020

0 Comments

 
Picture
Dr. Rahul Remanan,
CEO, Moad Computer
Working with large datasets in Python can often result in memory utilization issues. To reduce the memory utilization, the variables that are no longer immediately needed can be written to the disk. These variables can then be removed from the memory, thereby reducing the memory utilization. When these variables are needed at a later stage in the program, it can be easily restored from the disk. This strategy works for majority of the use cases, where the disk space is cheaper and more readily available than the main memory. In Python, restoring  a variable from the disk can be efficiently handled using Pickle.  Here is a concise Python3 code example for using Pickle to manage memory utilization, by using the strategy of restoring a variable from the disk.

Read More
0 Comments

    Overview

    Moad Computer is an actionable insights firm. We provide enterprises with end-to-end artificial intelligence solutions. Actionable Insights blog is a quick overview of things we are most excited about.

    Archives

    December 2020
    November 2020
    October 2020
    May 2020
    April 2020

    Categories

    All

    RSS Feed

Location

Our mission:

Cutting edge, insightful analytics using AI, for everyone.

Contact Us

    Subscribe Today!

Submit
  • Home
  • Contact
  • Shop
  • Blog