Colab session crashes for unknown reasons when when running tf.raw_ops.ResizeBilinear on colab
Hi @dmc1778 ,

I think it should be OOM problem as colab crashes with` Allocation of 2149856268 exceeds 10% of free system memory.`

Also Please refer to Dev team comment on one of your earlier tickets #59359 on similar reported behaviour.

Refer attached snapshot also.

<img width="1506" alt="Screenshot 2023-08-25 at 2 41 46 PM" src="https://github.com/tensorflow/tensorflow/assets/116063290/73677b56-b698-472a-8283-20af61f2a6b5">
 This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you. This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further. Are you satisfied with the resolution of your issue?
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61618">Yes</a>
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61618">No</a>

### Issue type

Bug

### Have you reproduced the bug with TensorFlow Nightly?

Yes

### Source

binary

### TensorFlow version

2.13.0

### Custom code

Yes

### OS platform and distribution

_No response_

### Mobile device

_No response_

### Python version

_No response_

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

Due to large list element

### Standalone code to reproduce the issue

```shell
import tensorflow as tf
import os
import numpy as np
try:
  images_tensor = tf.random.uniform([1, 5, 5, 1], minval=-256, maxval=257, dtype=tf.int32)
  images = tf.identity(images_tensor)
  size_0 = 125091515651
  size_1 = True
  size = [size_0,size_1,]
  align_corners = False
  half_pixel_centers = False
  name = None
  out = tf.raw_ops.ResizeBilinear(images=images,size=size,align_corners=align_corners,half_pixel_centers=half_pixel_centers,name=name,)
except Exception as e:
  print("Error:"+str(e))
```
```


### Relevant log output

```shell
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.592 NotebookApp] Searching ['/root/.jupyter', '/root/.local/etc/jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files","time":"2023-08-17T21:55:14.593Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.592 NotebookApp] Looking for jupyter_config in /etc/jupyter","time":"2023-08-17T21:55:14.598Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.594 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter","time":"2023-08-17T21:55:14.600Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.601 NotebookApp] Looking for jupyter_config in /usr/etc/jupyter","time":"2023-08-17T21:55:14.603Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.602 NotebookApp] Looking for jupyter_config in /root/.local/etc/jupyter","time":"2023-08-17T21:55:14.603Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.602 NotebookApp] Looking for jupyter_config in /root/.jupyter","time":"2023-08-17T21:55:14.604Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.604 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter","time":"2023-08-17T21:55:14.605Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.604 NotebookApp] Loaded config file: /etc/jupyter/jupyter_notebook_config.py","time":"2023-08-17T21:55:14.608Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.605 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter","time":"2023-08-17T21:55:14.608Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.597 NotebookApp] Searching ['/root/.jupyter', '/root/.local/etc/jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files","time":"2023-08-17T21:55:14.598Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.609 NotebookApp] Loaded config file: /usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:14.610Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.610 NotebookApp] Looking for jupyter_notebook_config in /usr/etc/jupyter","time":"2023-08-17T21:55:14.611Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.610 NotebookApp] Looking for jupyter_notebook_config in /root/.local/etc/jupyter","time":"2023-08-17T21:55:14.611Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.610 NotebookApp] Looking for jupyter_notebook_config in /root/.jupyter","time":"2023-08-17T21:55:14.611Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.612 NotebookApp] Loaded config file: /root/.jupyter/jupyter_notebook_config.py","time":"2023-08-17T21:55:14.613Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.597 NotebookApp] Looking for jupyter_config in /etc/jupyter","time":"2023-08-17T21:55:14.599Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.597 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter","time":"2023-08-17T21:55:14.601Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.598 NotebookApp] Looking for jupyter_config in /usr/etc/jupyter","time":"2023-08-17T21:55:14.601Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.598 NotebookApp] Looking for jupyter_config in /root/.local/etc/jupyter","time":"2023-08-17T21:55:14.602Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.598 NotebookApp] Looking for jupyter_config in /root/.jupyter","time":"2023-08-17T21:55:14.602Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.599 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter","time":"2023-08-17T21:55:14.610Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.600 NotebookApp] Loaded config file: /etc/jupyter/jupyter_notebook_config.py","time":"2023-08-17T21:55:14.612Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.601 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter","time":"2023-08-17T21:55:14.612Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.603 NotebookApp] Loaded config file: /usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:14.612Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.603 NotebookApp] Looking for jupyter_notebook_config in /usr/etc/jupyter","time":"2023-08-17T21:55:14.613Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.603 NotebookApp] Looking for jupyter_notebook_config in /root/.local/etc/jupyter","time":"2023-08-17T21:55:14.614Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.603 NotebookApp] Looking for jupyter_notebook_config in /root/.jupyter","time":"2023-08-17T21:55:14.614Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.606 NotebookApp] Loaded config file: /root/.jupyter/jupyter_notebook_config.py","time":"2023-08-17T21:55:14.614Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"    \t/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.051Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"    \t/usr/local/etc/jupyter/jupyter_notebook_config.d/panel-client-jupyter.json","time":"2023-08-17T21:55:15.056Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"    \t/usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.056Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"    \t/usr/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.059Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"    \t/root/.local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.060Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"    \t/root/.jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.061Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret","time":"2023-08-17T21:55:15.074Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"Authentication of /metrics is OFF, since other authentication is disabled.","time":"2023-08-17T21:55:15.076Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"google.colab serverextension initialized.","time":"2023-08-17T21:55:15.159Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"    \t/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.173Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"    \t/usr/local/etc/jupyter/jupyter_notebook_config.d/panel-client-jupyter.json","time":"2023-08-17T21:55:15.175Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"    \t/usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.177Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"    \t/usr/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.179Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"    \t/root/.local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.180Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"    \t/root/.jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.183Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret","time":"2023-08-17T21:55:15.192Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"Authentication of /metrics is OFF, since other authentication is disabled.","time":"2023-08-17T21:55:15.193Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"google.colab serverextension initialized.","time":"2023-08-17T21:55:15.213Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"Serving notebooks from local directory: /","time":"2023-08-17T21:55:19.313Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"Serving notebooks from local directory: /","time":"2023-08-17T21:55:19.314Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"Jupyter Notebook 6.5.5 is running at:","time":"2023-08-17T21:55:19.314Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"http://172.28.0.2:9000/","time":"2023-08-17T21:55:19.314Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).","time":"2023-08-17T21:55:19.315Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"Jupyter Notebook 6.5.5 is running at:","time":"2023-08-17T21:55:19.314Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"http://172.28.0.12:9000/","time":"2023-08-17T21:55:19.316Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).","time":"2023-08-17T21:55:19.316Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"Kernel started: 92d4365c-be07-4243-a024-4094c7317470, name: python3","time":"2023-08-17T21:55:37.205Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"Got events for closed stream <zmq.eventloop.zmqstream.ZMQStream object at 0x79d03bf475b0>","time":"2023-08-17T21:55:52.871Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 21:55:56.928312: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T21:55:56.928Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T21:55:56.928Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 21:55:58.601992: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T21:55:58.602Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 21:56:04.276761: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at tile_ops.cc:193 : INVALID_ARGUMENT: Encountered overflow when multiplying 500366062604 with 125091515651, result: -1","time":"2023-08-17T21:56:04.276Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"Task exception was never retrieved","time":"2023-08-17T22:10:59.200Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"future: <Task finished name='Task-35' coro=<WebSocketProtocol13.write_message.<locals>.wrapper() done, defined at /usr/local/lib/python3.10/dist-packages/tornado/websocket.py:1085> exception=WebSocketClosedError()>","time":"2023-08-17T22:10:59.200Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"Traceback (most recent call last):","time":"2023-08-17T22:10:59.200Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"  File \"/usr/local/lib/python3.10/dist-packages/tornado/websocket.py\", line 1087, in wrapper","time":"2023-08-17T22:10:59.200Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"    await fut","time":"2023-08-17T22:10:59.200Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"tornado.iostream.StreamClosedError: Stream is closed","time":"2023-08-17T22:10:59.200Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"During handling of the above exception, another exception occurred:","time":"2023-08-17T22:10:59.200Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"Traceback (most recent call last):","time":"2023-08-17T22:10:59.201Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"  File \"/usr/lib/python3.10/asyncio/tasks.py\", line 232, in __step","time":"2023-08-17T22:10:59.201Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"    result = coro.send(None)","time":"2023-08-17T22:10:59.201Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"  File \"/usr/local/lib/python3.10/dist-packages/tornado/websocket.py\", line 1089, in wrapper","time":"2023-08-17T22:10:59.201Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"    raise WebSocketClosedError()","time":"2023-08-17T22:10:59.201Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"tornado.websocket.WebSocketClosedError","time":"2023-08-17T22:10:59.201Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"Got events for closed stream <zmq.eventloop.zmqstream.ZMQStream object at 0x79d03bffc0d0>","time":"2023-08-17T23:11:18.034Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 23:17:17.631931: W tensorflow/tsl/framework/cpu_allocator_impl.cc:83] Allocation of 19327655268 exceeds 10% of free system memory.","time":"2023-08-17T23:17:17.634Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"KernelRestarter: restarting kernel (1/5), keep random ports","time":"2023-08-17T23:17:28.209Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"WARNING:root:kernel 92d4365c-be07-4243-a024-4094c7317470 restarted","time":"2023-08-17T23:17:28.209Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 23:19:54.827450: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T23:19:54.827Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T23:19:54.827Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 23:19:58.360271: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T23:19:58.360Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 23:20:03.457377: W tensorflow/tsl/framework/cpu_allocator_impl.cc:83] Allocation of 15342764032 exceeds 10% of free system memory.","time":"2023-08-17T23:20:03.457Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"KernelRestarter: restarting kernel (1/5), keep random ports","time":"2023-08-17T23:20:40.231Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"WARNING:root:kernel 92d4365c-be07-4243-a024-4094c7317470 restarted","time":"2023-08-17T23:20:40.234Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 23:25:19.461222: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T23:25:19.461Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T23:25:19.461Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 23:25:21.643520: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T23:25:21.643Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 23:25:25.628780: W tensorflow/tsl/framework/cpu_allocator_impl.cc:83] Allocation of 2149856268 exceeds 10% of free system memory.","time":"2023-08-17T23:25:25.629Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"KernelRestarter: restarting kernel (1/5), keep random ports","time":"2023-08-17T23:25:46.242Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"WARNING:root:kernel 92d4365c-be07-4243-a024-4094c7317470 restarted","time":"2023-08-17T23:25:46.242Z","v":0}
```
```
