-
Notifications
You must be signed in to change notification settings - Fork 187
High memory usage #48
Comments
I think, it is done by scaling picture. I am talking about client-side RAM |
Which browser? Is this memory consumption any worse than other websites that do this kind of scaling? Will the problem be the same at the upstream project by blueimp? http://blueimp.github.io/jQuery-File-Upload/ |
I dont know the comparison to other site. |
I think its bug in Chrome, because in FF its OK (its only on the beginning). I think the way out from this situation is to create on upload an resized small image on the server. Is it possible? |
look at this earlier fork https://github.com/theskumar/django-jquery-file-upload. |
I tryed to implement it here, but without success, when i upload I only get Internal error, does anyone know why? Arthedian@c821880 |
Did you installed django-imagekit and PIL or Pillow? |
yes i have Pillow and django-imagekit by pip |
i done this yeah!!!! in this commits: Arthedian@c821880 Arthedian@6b676a1 Arthedian@63354a8 Arthedian@ed4c6d2 . You can add it to this project if you want (only Django 1.6 branch), but now i have another problem. When i move this to my project, where i change the URL for list of already uploaded images? (default is "upload/view/") |
Great to see that you got it working! The server is doing the url matching based on the contents of the 'urls' files. You have a project level 'urls' and an app level urls in 'fileupload/urls'. This is pretty standard Django. However I don't remember if we are hardcoding the url in the javascript files. You could find out by grepping for /upload/view in the javascript files. |
it is hardcoded in main.js |
@Arthedian Ok. Thanks for keeping your implementation in the open, so we can merge it or be heavily influenced if or when we want this functionality. |
When I upload files to server it increases memory usage a lot even when I upload small files. Even when I close and reopen webpage, the memory usage is still high, even if i uploaded five small files on server. Is the problem on my side?? How can I Repair it? I didn’t change the example yet. I am using django 1.6 branch.
The text was updated successfully, but these errors were encountered: