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

  • SEARCH
  • Home
  • 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 6818187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T21:08:50+00:00 2026-05-26T21:08:50+00:00

I have been adding files to GridFS in my 32bit Mongo database. It eventually

  • 0

I have been adding files to GridFS in my 32bit Mongo database. It eventually failed when the size of all Mongo files hit 2Gb. So, I then deleted the files in GridFS. I’ve tried running the repairDatabase() command, but it fails, saying “mongo requires 64bit for larger datasets”. I get the same error trying to run the compact command against GridFS.

So, I’ve hit the 2Gb limit, but it won’t let me compact or repair because it doesn’t have space. Talk about Catch22!!

What do I do?

Edit
This is an immediate problem I have – how do I compact the database right now?

  • 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-05-26T21:08:51+00:00Added an answer on May 26, 2026 at 9:08 pm

    I had the same problem on my database and I solved it such way. At first I created Amazon EC2 64-bit instance and moved database files from 32-bit instance via plain copy. Then I made all needed cleanups in database on 64-bit instance and made dump with mongodump. This dump I moved back to 32-bit instance and restored database from it.
    If you need to restore database with same name, that you had before, you can just rename your old db-files in dbpath (files have database name in their name)
    And of course, you should move to upgrade to 64-bit later. MongoDB on 32-bit OS is very bad in support.

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

Sidebar

Related Questions

I have a small database and have been adding entries through a Rails page.
I have a project I have been adding files to regularly and noticed recently
I have been using ResolveUrl for adding CSS and Javascript in ASP.NET files. But
I have been adding dependency injection to my code because it makes by code
Recently we have been adding automated tests to our existing java applications. What we
I am working on a server-side framework. Here and there I have been adding
I am currently moving into the web-hosting league. I have to far been adding
I have been given the task of adding functionality to an existing IIS 6.0
I've taught myself Obj-C, and have been self-teaching Cocoa, but adding Core Data to
I have a directory in which I keep adding different C++ source files, and

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.