# Prototyper assistant meltdown Sorry, I hit a snag

**URL:** <https://community.firebasestudio.dev/t/prototyper-assistant-meltdown-sorry-i-hit-a-snag/13305>\
**Category:** General\
**Created:** [May 23, 2025, 4:06pm UTC](https://community.firebasestudio.dev/t/prototyper-assistant-meltdown-sorry-i-hit-a-snag/13305 "2025-05-23T16:06:18Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![DaC](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/dac/32/6866_2.png) [@DaC](https://community.firebasestudio.dev/u/DaC)\
**Post date:** [May 26, 2025, 5:10pm UTC](https://community.firebasestudio.dev/t/prototyper-assistant-meltdown-sorry-i-hit-a-snag/13305/4 "2025-05-26T17:10:36Z")

</div>

@Edwin_Dingjan Your problem is most likely context size, you can even check the current context size:

- run this command in terminal:

```
timestamp=$(date +%Y%m%d%H%M%S); mkdir -p "/home/user/studio/context/context_backup/" && cp "/home/user/.idx/ai/capra-context-state.json" "/home/user/studio/context/context_backup/capra-context-state-${timestamp}.json" && cp "/home/user/.idx/ai/capra-thread.json" "/home/user/studio/context/context_backup/capra-thread-${timestamp}.json"
```

- it will copy the context files from the prototyper to a new folder context/context\_backup
- download these file
- then go to [https://aistudio.google.com/app/prompts/new\_chat](https://aistudio.google.com/app/prompts/new_chat)
- paste the files to the chat, it displays the total tokens for the file.

my project was close to 3 millions tokens and I was having a really hard time using the prototyper, now it’s all good

here is what you need to do to safely clear the context from your project:

> [@How-to Enabling Prototyper on Existing Project + Prototyper Full Context Clear](https://community.firebasestudio.dev/t/how-to-enabling-prototyper-on-existing-project-prototyper-full-context-clear/13781):
>
> Background: People trying to bring their existing project (local machine, github, other cloud, etc) realize they can’t use the prototyper interface, only the code view, which uses a different model. With time the prototyper context memory gets huge and this ends up causing some troubles: Slow Speeds Frequent VM locks (Infinite Loading - reset needed) Uncomplete interactions Reduced Context Precision Old code being randomly and frequently reintroduced Additional errors like exceeding input tok…

---

_[View the full topic](https://community.firebasestudio.dev/t/prototyper-assistant-meltdown-sorry-i-hit-a-snag/13305)._
