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
Percy
Percy11mo ago
Project ID: N/A
ImRopoxPro
ImRopoxProOP11mo ago
N/A
Brody
Brody11mo ago
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
ImRopoxPro
ImRopoxProOP11mo ago
Okay I guess I can try this It’s strange that we can’t access our file system natively
Brody
Brody11mo ago
its an ephemeral container, only temp files should be stored. but a native volume filebrowser would be a very nice to have feature
Want results from more Discord servers?
Add your server