GWT托管模式非常慢 [英] GWT hosted mode very slow

查看:139
本文介绍了GWT托管模式非常慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Eclipse Ganymede(Windwos XP 3GB RAM)中运行的GWT托管模式确实有问题。当我们在托管模式下启动我们的应用程序时,启动需要很长时间,并且一旦应用程序启动,事务就需要几分钟才能做出反应。似乎在JavaScript和服务器之间进行通信需要很长时间。

We do have problems with GWT hosted mode running in Eclipse Ganymede (Windwos XP 3GB RAM). When we start our application in hosted mode it takes very long to start and also the transactions once the application is started are taking minutes to react. It seems as if it takes very long to communicate between Javascript and server.

此时处理器几乎没有任何负载。即使编译并从外部浏览器启动也没有帮助。

The processor shows almost no load during this time. Even compiling and starting from an external browser does not help.

奇怪的是,我们还有另外两台电脑(一台Windows XP一台Linux),具有完全相同的设置,托管模式正常工作,没有任何问题相同的应用程序。

Strange is that we do have two other computers (one Windows XP one Linux) with exact the same setup where the hosted mode is working at normal speed without any problems for the same application.

推荐答案

尝试删除所有断点。它帮助我在这种情况下。显然,如果您在程序中的关键点放置断点,则可能会导致所有事情在托管模式下几乎停止。

Try removing all breakpoints. It helped me in such a scenario. Apparently if you place breakpoints in critical points in the program, it can cause everything to grind to nearly a halt in hosted mode.

这篇关于GWT托管模式非常慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆