-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Possibly allocating way too much memory. #3
Comments
@SonicMastr encountered this too. As I do not like RetroArch or do anything that needs that much memory along with only using the FTP on LiveArea, I have not either experienced or noticed this. Although I remember @GrapheneCt once telling me that the memory allocated for the thread was too high, it might be related to that. |
Now that I think about it, I do remember FTP being slow when in an app. Graphene was talking about this part, if I'm not wrong: https://github.com/teakhanirons/ftpeverywhere/blob/master/src/net.c#L18 It could also be the taipool allocation or the ftpvita buffer. Can you elaborate a bit on your use case? Are you FTP'ing in RetroArch or on LiveArea? |
I wasn't even in an app. xD After each reboot, I just had it sit on the live area, even removed the CPU Core unlocking plugin since I thought it was causing issues. |
I have literally no idea other than reducing the allocated memory stuff as stated in my previous post. I'M SORRY ;_; |
This sounds like kpanic. Likely SceAppMgr crash. |
What'd be a way to debug this? I just pulled down DolceSDK since that was used for this project so that I'd have it at hand. |
You can use https://github.com/CelesteBlue-dev/PSVita-RE-tools/tree/master/PrincessLog/build to see what is beign printed to stdout. Will be very helpfull. Issue might be related to taipool. However that needs confirmation. |
I'll throw this at it then and see what I get out! :) |
No good. Looks like the logger is also overwhelmed by whatever is going on there. Which of those tools could do USB logging? I might be able to catch a little more output before the crash. Man, I wish I could just run something like top over and over to see the memory growth - or whatever is growing in the end. I'll also try to just build the plugin off the source tree and use that instead. Maybe I'll be lucky with a more recent build... maybe. |
Same behaviour with the freshly built variant as well. |
Okay - being sleepy is not helpful. |
Tried PSMLogUSB - but to no avail either. I ran out of ideas now... |
Full
I turned logger and FTP off and udcd_uvc back on; preparing to stream stuff later. But this was my config before I reverted it to, well "normal". Any other ideas what I can do to debug this? |
Did you try ftpeverywhere with udcd_uvc disabled? There are probably memory leak somewhere. I did manage to reproduce the crash, in my case it reported that system is out of memory. |
Yes, the entire time in fact.
… Am 25.07.2020 um 11:44 schrieb GrapheneCt ***@***.***>:
Did you try ftpeverywhere with udcd_uvc disabled?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@GrapheneCt I just realized you had this: https://github.com/GrapheneCt/BGFTP |
How did you manage to debug this in the end? I'd like to know in advance for when I run into other issues that I might be able to provide more information. :) |
A lot are different. One of my systems has PSMLog, other one PrincessLog, I didn't have any issues with them. System prints to stdout when it can't allocate memory or kpanic happens. |
Did this ever get resolved? I'm looking to do the exact same thing with syncing files. PS Thanks for your work on this project. |
No, I just use EmergencyMount or BGFTP. |
I am using SyncBack in trying to automate the synchronization of my RetroArch and PSP saves (
uma0:/data/retroarch/savefiles
anduma0:/pspemu/PSP/SAVEDATA
respectively). However, after just a few seconds of heavy FTP activity, the Vita itself becomes super unresponsive and the FTP server is no longer available. It can also only be shut down by holding down the power button.Since it can not load icons, nor even the settings app (doesn't even get to the live area card), I am assuming that it is allocating so much memory that there is:
I have the VitaSDK installed in WSL2 - but I have no idea how I could remotely debug the memory usage of a plugin. I installed this plugin through Autoplugin2 - so I have to actually verify that I have the latest version installed. Considering though, that this is out since a while, I would assume Autoplugin did install the latest one available.
Do you know how I can possibly debug this? Thanks!
The text was updated successfully, but these errors were encountered: