The actual number of elements MATLAB can create is always fewer than this number. For example, for a double array, divide by 8. To see how many array elements this number represents, divide by the number of bytes in the array class. MATLAB derives this number from the smaller of the following two values: * The largest contiguous memory block found in the MATLAB virtual address space As such, it is an upper bound on the largest single array MATLAB can create at this time. Maximum Possible Array is the size of the largest contiguous free memory block. To calculate the array size that the Maximum possible array value corresponds to, you simply divide by the number of bytes required by each array elements. ** Limited by virtual address space available. * Limited by contiguous virtual address space available. Memory used by MATLAB: 446 MB (4.681e+008 bytes) Memory available for all arrays: 1601 MB (1.679e+009 bytes) ** Maximum possible array: 677 MB (7.101e+008 bytes) * You can use the memory command to provide detailed statistics about the memory available to you, including the amount of contiguous memory available for a single matrix. Matrices are stored in memory as contiguous space, so if you have a matrix that would occupy 8GB of memory, you would need one big chunk of 8GB to be available to you in memory. Memory is limited in Matlab only by the amount of memory (including virtual memory) made available to it by the operating system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |