I’m kind of grasping at straws for what could be happening with my web app. Last week, I updated the app (hosted on Xojo Cloud). The only main difference I made with the app was the addition of a WebToolbar. I doubt that’s the problem as I’m sure many others are using toolbars without issue
The other day, I heard from a couple users that they would get kicked out of the app (goes back to the login page). I checked the memory usage, and it was shooting up there pretty quickly (about 180 MB, normally sits around 60 MB). Now, there was a lot of traffic on the app at that given time
Another point, and I’m not sure if this is normal, but I do occasionally check my server’s memory (once every couple of days). I usually need to restart my XC server about once a month when I see the memory getting up there (60% to 70% when looking at the Statistics window in Xojo). After a restart, this comes back down to about 20%, and then it slowly creeps back up in time
This got me thinking if things are not getting destroyed after use/user logs out. I have self.Quit
in the Session.UserDisconnected, which I thought would destroy anything that’s no longer being used
I have a bunch of Session properties, but I also have some WebPages with a lot of properties too. I know properties are best declared and used in code so they are destroyed after use, but is there any problem with having a lot of properties on a page, or should I try to minimize these and move to Session properties if possible? The properties are nothing crazy: strings, integers, doubles, and arrays, some pictures