Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

de-allocate memory necessary?

Featured Replies

Posted

i allocated memory using VirtualAlloc. this i have done 9 times.


now i don't need those memory anymore so do i have to free/remove them to improve the application's cpu?


 


i mean, i know when the application is gonna terminate, all memory will be freed, but while the application is running, and i don't need the allocated memory anymore, is it better to remove/free that memory to have a lower pcu usage or something?


Hi,


 


sure its better to free the memory again if you don't need it anymore.So if user XY used a low level PC with less memory then user XY PC's is getting slower.Also a question how much sizes you alloc (don't think that you wanna alloc 9x 500 MB VirtualMemory or?). :)


 


greetz


It's all about RAM and not the CPU.


If you deallocate memory the less likely the OS needs to perform paging commit and that requires disk access and it will be slow


  • Author

thanks people.


 


so i used VirtualAlloc to allocate memory, which api do i need to de-allocate this memory?


  • Author

thank you guys gonna try it!


Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.