12 questions
Thank you for your help.I'm sorry for the vague question, but I'm at a loss for a reply after receiving a consultation from a team member regarding the following issues.If you have more than 100MB of ...
How does Linux swap out and swap in memory?Is it per page (approximately 4kb)?Or is it a little larger, internal structural unit around memory management?This is because I think heap fragmentation occ...
I'm thinking of moving the app from objective-C to swift.The following is dealloc for UIWindow*window; in AppDelegate.m.When I was writing in objective-C, I wrote the release process in dealloc as fol...
I think the stack will pile up from the larger memory address to the smaller memory address, but if it overflows, will the memory on the other side of the stack be rewritten?Or will the stack be rewri...
I take in a lot of image data and analyze it on jupyter notebook, but I delete the variables with the del command and gc.collect() in some parts of the code, but I run out of memory in the middle and ...
I am currently developing software on uClinux.Running software under development for a long time Allocation of length 69632 from process 7238(cut) failed A kernel message (dmesg) such as this will eve...
In C++, there are many ways to dynamically allocate, right?Then when should I use malloc and when should I use new?malloc If you finished freeIf new is done, deleteI know I shouldn't mix the two.
In C/C++, I found out by using sizeof()I wonder if Python has a similar function. I am writing an XML file that determines the size of the value by the size of the fieldYou should always check the fie...
NULLThe pointer doesn't point at anything, so there's nothing to do with deleteIs it safe to delete?Should I check whether it is NULL or not and delete?
On my computer,cout << new int[0] << endl;When I ran , I printed 0x876c0b8.I think I'm allocating memoryAssigning [0] means assigning empty. Personally, I thought there would be an error, ...
- 1 - | » |
© 2024 OneMinuteCode. All rights reserved.