Both WROVER and WROOM modules exists in versions with 4, 8 and 16MB of Flash.You can use 8MB of flash if you are using the WROVER version of the ESP32. If you are using the WROOM version then you need to make your partitions smaller as it only has 4MB.
WROVER 4/8/16 MB
WROOM 4/8/16 MB