how can I access files that are run or generated by railway services?
I need to inspect some files such as heapsnapshots that are generated by my dependencies because my railway memory is leaking I am using docker, is it possible to do this? Is there a workaround?
5 Replies
Project ID:
N/A
N/A
some possible ways to get the heap snapshot from the deployment:
- build that kind of functionality into your code
- save the heap snapshots to a mounted volume, then use this template to download them from the volume https://railway.app/template/guiCBv
- have the code upload the heap snapshot to a cloud file storage solution like cloudflare r2
Okay I guess I can try this
It’s strange that we can’t access our file system natively
its an ephemeral container, only temp files should be stored.
but a native volume filebrowser would be a very nice to have feature