Removing the flash memory chip with controlled heat