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
Percy10mo ago
Project ID: N/A
ImRopoxPro
ImRopoxPro10mo ago
N/A
Brody
Brody10mo 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
ImRopoxPro10mo ago
Okay I guess I can try this It’s strange that we can’t access our file system natively
Brody
Brody10mo 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