I am developing an app for WP8 in which data is coming from server(Cloud) And want to show huge data in scroll viewer it's working fine only the problem is crashes after some time due to memory problem I have checked in performance tool it exceed memory limit more than 150 MB in scroll viewer I am showing Images which comes from server please give me idea how can I get rid off this problem if someone else face problem.
if you use huge amount of data you can use Incremental loading
check this :
Windows 8 Series – Incremental Loading
Related
I recently got a new Windows 2016 machine and Lucee (ColdFusion). Transferring all my clients e-Commerce sites from Windows 2008 CF9. I am having an issue with all images downloading to the browser. The images are a bit to large, client not following directions, BUT this was not an issue with the old machine. If you go to https://shop.bosombuddybags.com/p824/HBB-Custom-Monogram.htm for the first time many of the option images do not load/transfer but the page has stop loading. They are all there, refresh a few times and they appear use CNTRL F5 and they disappear again randomly. I have spent 2 days looking through Google searches, and getting no where. Any suggestions are welcome as this clients had over 1200 options uploaded and having them redo them to make proper thumbs is not an option. I figure it has to be a Lucee or Windows 2016 setting that I am missing. As the page stops loading and never loads what ever images were not completed.
Here are the recommendations:
You have got about 3 or 4 images that are just enormous. Get those down to size.
Try turning data compression on IIS for static content.
Try doing some inline images
Try eliminating some images. Both Font-Awesome and Glyphicons have Facebook and Twitter. You can use them.
Otherwise this is a really show page.
I am encountering an issue I have never seen before. During development of a new website, while testing on mobile I noticed my images are getting resized and compressed. An image that is normally 1600 by 600 naturally, is being resized and compressed to 375 by 140 this is then displayed as the natural size.
I have an older copy of the website with the same images. The issue does not occur with those.I have not implemented any server side caching yet.
Is anyone familiar with this issue? I haven't been able to find any information on it. I looked up 'Image compression bug on chrome', 'chrome resizing images', and at least a dozen other queries, but nothing that seemed to match my issue. Other colleagues are seeing the same issue on their own devices as well.
Nevermind. It turns out one of my colleagues in the past had run a small experiment with cookies and limiting the image widths, and had left it there.
I'm working on a Windows Phone 7.1 project and got most of my work done and decided to add to the project the images for my tiles (62x62 and 173x173 PNGs) plus the JPG file for the splash screen (SplashScreenImage.jpg 480x800).
Before adding these images to the project my project was running fine! After adding them and setting the tiles images to the 2 new files, my project still builds ok, but when running on the 7.1 simulator (my acer laptop doesn't have hardware assisted virtualization enabled in order to run the wp8 emulator) the app crashes when trying to load MainPage with "The parameter is incorrect" exception (in the Application_UnhandledException handler).
I've been trying to find a solution on the web for the last 1-2 days, found few mentions of this error and few possible causes, but none of my findings helped so far. The exception doesn't say anything helpful and it's getting really frustrating considering that most of the serious work is done and I'm very close to releasing the app to the marketplace.
Did anybody run into this issue before? Any ideas what could have gone wrong and how I could solve this exception? Any help is much appreciated!
Thank you in advance!
Andrei
Whenever I wish to change the Splashscreen and other images, here is what I do:
Locate the file on disk using Windows Explorer.
Open the file using some image editor (I use Paint.NET)
Remove the default image and replace with your image maintaining the dimensions.
Save the image and return to Visual Studio.
Rebuild the entire project.
This works seamlessly without any errors. ;)
I have an HTML5 game set up using the 'Windows Phone HTML5 App' template. This essentially just loads the HTML Game in a WebBrowser control.
When loading index.html locally with a relative URI, performance is dismal with the profiler showing about 10fps:
When loading exactly the same HTML, only from my remote server, I'm getting a good 45fps.
Does anyone have any idea what this disparity is and how to fix it?
Edit -> When loading all images remotely the performance issues are gone. The problem lies in loading images locally, rather than remotely. Bewildering.
Edit 2 -> Base64 encoding the images as data URIs also has the same massive performance gains. Unfortunately that isn't workable for us, but shows something is seriously wrong with loading images locally
Have you found the cause of the problem?
First, in order to make sure you do not have any xss issue can you setup Fiddler for example and monitor the traffic on the phone?
Second, crazy idea: would it work to make a simple http server in your own app? you can then set the webbrowser load your game from it and see how that works compared to loading from local
I have to write a J2ME app to retrieve images from server and display in mobile phone.
I have seen and test that Snaptu have a mechanism to cache image, event with 100 images (both normal size and zoom size). I wonder how they can do that?
I though that those guys use rms to save image stream to data. But when i check in working folder of simulater( I use Windows XP and Sun Wireless Toolkit 3.0, the Emulator device i use to run my program is CLDC Device 1 - my working folder is C:\Document And Settings\Administrator\javame-sdk\3.0\work\6\appdb), i see some .db file. When i delete these files, i still can view cache image in my emulator????
I also thought that those guys use heap memory to save image. But it is not correct because when i set limit device memory is 2MB (like some mobile phones), and i load and view 100 images in zoom size, it didn't make OutOfMemory Error?
It so weird.
Any one can help me? Thanks
RMS is possible solution for trusted and untrusted MIDlet.
JSR-75 file connection is possible solution for trusted MIDlet only. You can't create file if your app is untrusted.