hrhristov
Constantly growing RAM usage
Your app may have a memory leak. Here's how to flatten the RAM usage:
1. Profiling: Use memory profiling tools specific to your language or framework to identify areas of the code that continually allocate memory without releasing it.
2. Database Connections: Ensure that database connections are closed properly after their use.
3. Caching: If you're using caching, ensure items are evicted when no longer needed.
4. Data Structures: Ensure large data structures or objects are de-referenced after use, allowing garbage collection to reclaim the memory.
5. Garbage Collection: If your language supports manual garbage collection, try triggering it periodically.
16 replies
telegram.error.TimedOut: Timed out
@adriangalilea Problem may be due to private networking, after the bot is started, for the first few seconds it seems that it can't connect to public networks and throws a timeout error.
Try to disable private networking in your deployed service Settings-> Environment
29 replies
railway login fails
I have updated to the latest version, but the issue persists:
hristo@ubuntu-4gb-fsn1-1:~$ railway --version
railwayapp 3.4.0
hristo@ubuntu-4gb-fsn1-1:~$ railway login -b
Browserless Login
Failed to fetch: error decoding response body: expected value at line 2 column 1
Caused by:
0: error decoding response body: expected value at line 2 column 1
1: expected value at line 2 column 1
25 replies