-
-
Notifications
You must be signed in to change notification settings - Fork 122
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
LiveUpdate failures #281
Comments
From kevkov on Slack Code:
Result:
|
Assigning an event callback produces an "AddToObservable not supported" error, e.g. |
Calling a function that takes
produces
while
is ok. |
I'll try to get these fixed today, thanks |
Also
produces
|
After a few iterations of simple changes the app started throwing OutOfMemoryException:
|
Any chance of a full repro for this? Just so I'm not guessing :) |
Hard to tell what this problem is - it could be we're hitting real limits, or it could be a bug. Is your app open source? I've never seen an OOM while using LiveUpdate. Please also list out your full details of your setup, e.g. device, app size, images being used, any memory usage details I've fixed all the bugs above except the event handler one in #286. |
Sorry, only just seen your replies. For the event handler one:
produces
The app is not open source but I can give you access if you want. Its on bitbucket. |
@dsyme I've put the app in a private repo on GH and you have been invited. I have been using a Google Pixel API 27 emulator. The memory starts at about 12mb for a newly installed app but then goes up 64mb after a few live update changes and then throws an OOM. It should be fairly easy to reproduce. The code for the inital page is HomePage.fs and you can change the Label at line 138 to get live update feedback. Please bear in mind this is very much a work in progress, discovery and accruing of technical debt. You can use the code as a source of how not to do things if you like, as long as you don't acknowledge the authors. Of course we'd be glad for any feedback as along as we can respond with weak excuses. |
Named fields in DU cases don't work. For example:
produces
|
I get the same error using live update in a WPF app:
|
Right now in v2, we abandon LiveUpdate. Might come back later in the future. |
Here is a list of some cases where LiveUpdate fails to run.
Fixed:
The text was updated successfully, but these errors were encountered: