MATLAB closes when displaying large TIFF image with "geoshow"

6 views (last 30 days)
When I try to display a large TIFF image (21,600 x 43200) using "geoshow", MATLAB shuts down after 5 minutes and I get rerouted to the following page,
<https://nvidia.custhelp.com/app/answers/detail/a_id/3553>
telling me the OpenGL has made a request "for more GPU memory than is available." I have already tried updating my drivers, but that didn't fix the problem. What should I try next?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 16 Oct 2019
Since OpenGL has made a request "for more GPU memory than is available", your image seems to be too large for your graphics driver to handle. If updating the driver does not resolve the issue, try making your image smaller using the "imresize" function:
<https://www.mathworks.com/help/matlab/ref/imresize.html>
The "geoshow" function should now display your image successfully, but the graphics will lag a bit. To decrease the lag, try lowering the scale factor (second input to "imresize") further.
If you can not afford to resize the image, you will likely need a GPU with more memory to handle this application.

More Answers (0)

Products


Release

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!