ESP32-WROVER malfunctioning when over VGA resolution

Hello. I am using the ESP32-WROVER camera from Freenove (FNK0060), but there is a problem where if I set a resolution higher than VGA, it resets. Here is what it returns:

Debug exception reason: Stack canary watchpoint triggered (loopTask) 
Core  1 register dump:
PC      : 0x4009341d  PS      : 0x00060036  A0      : 0x40091887  A1      : 0x3ffe25a0  
A2      : 0x3ffc6588  A3      : 0x3ffc6768  A4      : 0x3ffc676c  A5      : 0x00000001  
A6      : 0x00000001  A7      : 0x00000001  A8      : 0x3ffc6590  A9      : 0x3ffe2580  
A10     : 0x3ffb8190  A11     : 0x3ffb8190  A12     : 0x00000014  A13     : 0x00000004  
A14     : 0x3ffb8188  A15     : 0x80000001  SAR     : 0x00000001  EXCCAUSE: 0x00000001  
EXCVADDR: 0x00000000  LBEG    : 0x4008d870  LEND    : 0x4008d88c  LCOUNT  : 0xffffffff  


Backtrace: 0x4009341a:0x3ffe25a0 0x40091884:0x3ffe25d0 0x40091834:0xa5a5a5a5 |<-CORRUPTED




ELF file SHA256: 0efa2a690224334a

(This did also say this for httpd instead of loopTask)

Also, I did replace the camera of the ESP32-WROVER because I accidentally broke the one that came with the kit.

The code is:
Sketch_06.1_CameraWebServer.ino (3.3 KB)
camera_pins.h (6.8 KB)
camera_index.h (147.2 KB)
app_httpd.cpp (43.3 KB)

This came from the Freenove FNK0060 tutorial.

Nevermind, I tried the example CameraWebServer and was able to get more than VGA resolutions.