Join Simon Allardice for an in-depth discussion in this video Core concepts of memory usage, part of Foundations of Programming: Code Efficiency.
In this section we're exploring efficient use of memory and this…is really a question of resource efficiency, memory is a limited…resource available to your application and poor use of that resource…will effect performance, it will…effect responsiveness, it will effect reliability.…A very poor use of memory will cause your…program to crash or be terminated by the operating system.…So first, let's review a couple of basic concepts.…Let me begin with a purposely…over simplified approach of what's going on.…I'm going to take it deeper as we need to.…
But any computer you're using, laptop, desktop, phone,…tablet, has a certain amount of physical memory available.…And I'm talking here about RAM.…The physical memory chips your application will use while it's running.…What's sometimes called primary memory, as opposed to secondary memory or…storage that your computer has like a hard drive or SSD drive.…Now first, a chunk of that physical memory…is going to be used by the operating system.…Whatever's left is available for each of your applications, each of your processes…
Learn to choose the right data types, understand the pitfalls of using high-level languages, and decide where to spend your time. Plus, see how the underlying memory management model may have more of an impact than you realize, and what performance issues you can expect working with databases and web services.
- Identifying problems in the code
- Embracing constraints
- Using code analysis tools to measure performance
- Managing memory
- Managing disk-based and network resources
Skill Level Beginner
Foundations of Programming: Refactoring Codewith Simon Allardice1h 44m Intermediate
1. Approaching Efficiency
4. Algorithmic Efficiency
5. Disk-Based and Network Resources
Next steps6m 4s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.