"Delete data to upload file" means the Gemini app has run out of room for saved chat history, which includes your chats and the files attached to them. Until you free space, you cannot attach anything new. On a personal account, open Settings, go to Gemini History, and delete the history you choose. On a work or school account, only a Workspace administrator can delete it.
Everything below reflects Google's help pages as of December 2026. Google changes limits, plan names and menu labels often, so check the cited page if your screen looks different. One gap up front: Google does not state how large the Gemini storage cap is, in gigabytes or any other unit.
What 'Delete data to upload file' means in Gemini
The message is about storage, not the file you just picked. Google's help page says the Gemini app has a storage limit for saved Gemini history, and that history includes your chats and attached files. Hit it and you see "Delete data to upload file", with no attachments allowed until you free space. The limit is separate from your Google Drive or Google Workspace storage, so an empty Drive does not help and a full Drive does not cause it.
Some chats cost more space than others. Google says chats with attached videos, photos, or files from Google Drive or a Notebook use more space than plain text. A long thread of text questions is cheap. A handful of chats with video attached is not. That is why one person hits the wall after a few months and another never sees it.
Similar-looking upload messages have different causes. Match the exact wording in the table below before you delete anything, because some of these clear by themselves.
| Message on screen | What it points to | Does it clear on its own? | What to do |
|---|---|---|---|
| "Delete data to upload file" | Saved history (chats plus attachments) reached the Gemini app storage limit. | No. Space returns only when history is deleted. | Settings, then Gemini History, then delete chosen history. Work or school: ask your administrator. |
| "You've reached your limit for chats with files" | A rolling usage limit on chats that include files. | Yes. Google describes these limits as resetting after some time. | Wait, or move to a Google AI plan with higher limits. |
| "Your uploads may be too large for the best results" | The attached material is large for the model's context window. | Not applicable. It is a quality warning. | Use smaller files. Google AI Pro or Ultra gives a 1 million token window. |
| Drive files cannot be attached | History is off, Workspace is not connected to Gemini Apps, or a work admin has not enabled access to apps in Gemini. | No. A setting has to change. | Turn History on, connect Workspace, or ask your administrator. |
Delete Gemini history on a personal account (Settings path)
Delete history from the Gemini History page, starting with the chats that carry the biggest attachments. Google's file-upload page says to open Settings, go to History (labelled Gemini History on the history page), and delete what you choose. Clearing can take several minutes. The steps and range choices are below.
- On a computer, go to gemini.google.com, click Settings, then Gemini History. The address myactivity.google.com/product/gemini opens the same list.
- To clear everything, click Delete, then All time.
- To clear a recent window, click Delete, then Last hour or Last day. For a specific stretch, click Delete, then Custom range.
- To clear one day, click "Delete all history from" next to that day. To clear one chat, click "Delete history item" next to it.
- Deleting a Gemini Live chat also deletes its related audio, transcript, videos, and screenshares.
Delete selectively first. Find the chats where you attached videos, photos or Drive files and remove those, since Google says they use the most space. A few deletions can free more than hundreds of text-only chats. Keep the originals elsewhere before you delete, because the attached copy goes with the chat.
One side effect to know about: Google says deleting a shared chat does not delete its public link. If you shared a conversation and the link matters to you, check that separately before and after deleting.
Does deleting chats free the storage, and how long does it take?
Yes, deleting history is the fix Google gives, but it is not instant and it does not cover everything. Clearing can take several minutes, so wait before you test an upload. Google's history page says removal from the product and its systems starts immediately, though it does not say how long full removal takes.
Deletion has three limits. Google's Privacy Hub says deleting history does not delete chats that human reviewers have already reviewed, which stay for up to three years. It does not delete data in other Google services. And turning History off does not make existing chats vanish: Google says that with History off, new chats are still kept with your account for about two months and do not appear in Gemini History. Neither page says whether those hidden chats count toward the storage cap, so do not rely on turning History off as a storage fix.
Work or school account: only a Workspace administrator can delete history
On a work or school account, Google says only a Workspace administrator can delete Gemini history, so the message becomes a request to your IT team. The file-upload page puts it plainly: contact your administrator. Your employer or school sets the policy, and the administrator decides what can be deleted and when.
If you are the person who receives that request, Google's admin article describes where the controls live. In the Google Admin console, go to Menu, then Generative AI, then Gemini app, then click Gemini conversation history. You need the Gemini Settings administrator privilege. There are two checkboxes: "Allow temporary chats" and "Allow users to delete conversations". Google says both are on by default for organizations that do not use Vault for Gemini, and off by default for organizations that do. Vault retention rules still apply even after users delete conversations, and deleted chats are hidden from the user but retained under those rules.
Two Google pages touch this area and they are not identical in scope. The file-upload page says only an administrator can delete Gemini history for work or school accounts. The admin article says users can delete their own conversations when "Allow users to delete conversations" is on, and it does not say whether admins can delete a user's chats. So if your account shows the error, ask your administrator what your organization allows, because the answer depends on how they configured the console.
A message to forward to IT: "My Gemini app shows 'Delete data to upload file'. Google's help page says only a Workspace administrator can delete Gemini history on work accounts. Can you clear my history, or confirm that 'Allow users to delete conversations' is on for my organizational unit?"
Administrators also set how long history lives. Google's Workspace privacy page says admins can choose 3, 18 or 36 months of retention for the Gemini app, with 18 months as the default. A shorter setting means old attachments leave on their own, which is the structural cure for repeat errors on a work account.
Stop the error coming back: auto-delete and attachment habits
Shorten how long Gemini keeps history, and delete attachment-heavy chats when the task is done. Google's history page says history older than 18 months is deleted by default. In Gemini History you can click the auto-delete option near the top, then choose 3, 18 or 36 months, or "Don't auto-delete history", and click Next to follow the prompts. Picking 3 months is the shortest period offered, so it clears old attachments soonest.
- Set auto-delete to 3 months if you rarely return to old chats.
- After you finish a task with a large video, photo set or Drive file, delete that chat instead of leaving it.
- Attach only what the question needs. Google's limits are 10 files per prompt, up to 2 GB per video and up to 100 MB for other supported file types, so a trimmed clip or a few relevant pages is easier on both the cap and the model.
- Keep the original in a place you control. Gemini history is a working scratchpad, not an archive, and the cap will eventually force a clean-out.
- Chats that use Gemini Notebook attachments also take up more space, and Google says chats with Notebooks are saved according to your History setting.
Still seeing the error after deleting history
Wait a few minutes, delete more, then check the account. Clearing can take several minutes, so the first retry is often too early. Work down this list in order.
- Wait at least several minutes after deleting, then reload the page and try the upload again.
- Delete more. Start with chats containing video, then photos, then Drive or Notebook attachments. Google does not publish a target amount, so there is no way to calculate how much is enough.
- Check which Google account is active in the top corner. A personal account and a work account have separate history, and the work account needs an administrator.
- Confirm the wording. "You've reached your limit for chats with files" is a rolling limit that resets after some time, and deleting history does not change it.
- Do not expect Google Drive cleanup or extra Drive storage to help. Google says the Gemini limit is separate from Drive or Workspace storage.
- Make sure you are signed in. Google's Gemini Apps help says features such as file upload are not available when signed out.
- If everything above fails on a work account, send the callout message above to your administrator and include a screenshot.
Gemini plan limits and file upload limits
Google's separate usage-limits page is where to check whether a different cap is the real problem. It lists limits as standard without an AI plan, 2x higher with Google AI Plus, 4x higher with Google AI Pro, and 5x or 20x higher than AI Pro on Google AI Ultra depending on the subscription. Context windows are 32k tokens without a plan, 128k tokens on AI Plus and 1 million tokens on AI Pro and AI Ultra. The page says the limit refreshes every 5 hours until you reach your weekly limit, and that limits can change without notice.
That page does not state file upload limits or storage amounts. The file-upload page does: up to 10 files per prompt (subject to availability), with files inside an uploaded folder counting toward that number, videos up to 2 GB each, other supported file types up to 100 MB each, ZIP files up to 10 files and 100 MB with no video or audio, and one code folder or GitHub repository up to 5,000 files and 100 MB total. Total video length is 5 minutes, and Google AI Pro or Google AI Ultra extends it to 1 hour. Total audio length is 10 minutes, extended to 3 hours on those plans. Neither page says that a paid plan enlarges the history storage cap, so a subscription is not a documented fix for this specific message.
Where to keep a warranty PDF once Gemini history is cleared (MemX Upload)
The awkward part of this fix is that cleaning out Gemini history removes the files you attached, along with the answers built from them. If a document is one you will need again, such as a warranty, a policy or a lease, a separate place to keep it saves a repeat upload next time.
MemX Upload is one option, not a replacement for Gemini. Per the MemX feature page, you upload photos, PDFs, text and Markdown files, Word documents and audio, each up to 20 MB, and MemX reads them so you can ask questions about them later in plain English. It is free to start. Uploads queue on your phone when you are offline and finish when you reconnect, but asking questions still needs a connection. MemX does not manage, clean or export your Gemini history, it does not lift any Gemini limit, and it does not take files larger than 20 MB. Your files sit under a key per account with encryption at rest and every read logged, which is what the product means by private by architecture.
Checklist: which fix matches your Gemini message
- Message says "Delete data to upload file" and the account is personal: Settings, Gemini History, delete attachment-heavy chats, wait several minutes.
- Same message on a work or school account: ask the Workspace administrator, and mention the "Allow users to delete conversations" setting.
- Message mentions a limit for chats with files: wait for the rolling limit to reset or compare plans.
- Message mentions large uploads: shrink the files, or check the context window for your plan.
- Repeat problem: set auto-delete to 3 months and delete finished attachment-heavy chats.
01What does "Delete data to upload file" mean in Gemini?
It means saved Gemini history, which includes chats and attached files, has reached the Gemini app storage limit. You cannot attach files until you free space. Google says this limit is separate from Google Drive or Workspace storage.
02How do I delete Gemini history to upload a file?
On a computer, open gemini.google.com, click Settings, then Gemini History, and click Delete to choose All time, Last hour, Last day or a custom range. You can also delete one day or one item. Google says clearing can take several minutes.
03Why can't I delete Gemini history on my work or school account?
Google says only a Workspace administrator can delete Gemini history on work or school accounts, so contact your administrator. Their Admin console has an "Allow users to delete conversations" setting, and Vault retention rules can still keep deleted chats.
04Does buying more Google Drive storage fix the Gemini storage error?
No. Google says the Gemini Apps storage limit is independent of Google Drive or Google Workspace storage. Its pages also do not state that a Google AI plan raises the history storage cap, so deleting history is the documented fix.
05How do I stop Gemini from filling up with old chats?
In Gemini History, use the auto-delete option near the top and choose 3, 18 or 36 months. History older than 18 months is deleted by default. Delete chats with large attachments once the task is finished.
