English 中文(简体)
标签:的问答
Java 高内存使用率
原文:Java high memory usage

我对爪哇应用程序有问题。昨天,当我部署它去试运行时,我们注意到我们的机器开始交换,尽管这不是一个真正的怪物应用程序,如果你明白我的意思的话。

如果我为 C++ 中的“ std::string &” 类型“ std::string &” 的参数指定默认值, 会不会导致内存泄漏?
原文:If I specify a default value for an argument of type "std::string &" in C++, could that cause a memory leak?

我有这样宣布的方法: / *!\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\可以\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

热门标签