Connect 2 Projects?

Is it possible to connect 2 projects?
I am making a discord bot and it’s kind of huge. Thus, it is ‘unstable’ and doesn’t stay online 24/7…

I dont think so iirc.

If we can, i too wanna know

No, not as in sticking them together to combine their memory or disk space limits. But you could make one project an API for the other, so it’s just providing the data back to the other.

In general though, if you’re using too much memory the first thing to do is identify what’s using it up. You can do this by disabling one part of you project at a time, and look how ram usage changes (keeping in mind it might take up to 2 minutes for the monitor to update). Follow this rule until you identified the lines of code that take up all that ram.

1 Like