---
title: "frame内嵌ExtJS、PrototypeJS、Mootools通用AJAX框架内存溢出问题解决"
author: "jusescn"
date: "2009-08-12T13:27:45Z"
tags: []
slug: "frame-extjs-prototypejs-mootools-ajax"
draft: false
lastmod: "2009-08-12T13:27:45Z"
id: 445459
url: "https://jusescn.iteye.com/blog/445459"
---

表现：  
在弹出页面中嵌入另外页面(iframe/frameset)，嵌入的页面含有ajax框架（protytype/extjs/jquery），多次点击打开弹出页面，内存不断增加并不回收，最后导致内存溢出。

 

解决：  
在弹出页面的unload事件中，强制设置frame的src为“”。