Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8337445
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T04:18:24+00:00 2026-06-09T04:18:24+00:00

Django-imagekit, which I’m using to process user uploaded images on a social media website,

  • 0

Django-imagekit, which I’m using to process user uploaded images on a social media website, uses an unacceptably high level of memory. I’m looking for ideas on how to get around this problem.

We are using django-imagekit to copy user uploaded images it into three predefined sizes, and saves the four copies (3 processed plus 1 original) into our AmazonS3 bucket.

This operation is quickly causing us to go over our memory limit on our Heroku dynos. On the django-imagekit github page, I’ve seen a few suggestions for hacking the library to use less memory.

I see three options:

  1. Try to hack django-imagekit, and deal with the ensuing update problems from using a modified third party library
  2. Use a different imaging processing library
  3. Do something different entirely — resize the images on in the browser perhaps? Or use a third party service? Or…?

I’m looking for advice on which of these routes to take. In particular, if you are familiar with django-imagekit, or if you know of / are using a different image processing library in a Django app, I’d love to hear your thoughts.

Thanks a lot!

Clay

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T04:18:26+00:00Added an answer on June 9, 2026 at 4:18 am

    Try to change image size with PIL from console and see if memory usage is ok. Image resize is a simple task, I don’t believe you should use side applications. Besides, split your task into 3 tasks(3 images?).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

django-social-auth redirects me to /mypage#_=_ when using the the Facebook backend. As I am
I'm using django-imagekit to get the image urls from a model called Avatar like
I have been using rackspace CDN for the last few months with django-imagekit and
I'm trying to figure out which image management library to use on django. What
Django testrunner is not loading fixtures out of media app fixtures/ directory. How can
Django objects aren't subscriptable meaning if you have user.name you can't define it with
Django newbie at work and I could use some pointers. I'm using django-profile and
django forms seem to be oriented for rerdirecting the user to a different page
Django has a DATE_FORMAT and a DATE_TIME_FORMAT options that allow us to choose which
Django is sending the pre/post_delete signals if you are using the queryset.delete() method, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.