Closed DenisMir closed 5 years ago
Hi, thank you for letting know. Can you paste me troubleshooting information? (Help > Collect Troubleshooting information).
I tested this plugin on https://github.com/symfony/demo app and I didn't see unusual memory consumption. It would be good if you will know me what are the symptoms from your perspective. Have you tried to clear PhpStorm cache and restart?
I'm trying to get the troubleshooting information but the problem is that is crashes faster (runs out of memory) than I can get the information.
The demo application does work for me too as well as most of my projects. I'm trying to find out what in the specific composer.json
file results in the mentioned problem.
How much memory do you have available for PhpStorm? Can you give me troubleshooting info before opening composer.json?
Memory available > 3 GB. I had it to > 6 GB as well but it didn't help. No matter how much it is it gets filled in seconds.
I'm getting you the troubleshooting information in a second.
Thanks, I will have a look at this at the evening.
Can you also give me a list of top level json keys used in the problematic file?
Same here with phpStorm 2019.2.3 on Ubuntu 19.10. A colleague with latest EAP is running fine with this version.
I am on a fresh phpStorm installation without any other plugins currently. I pushed the memory up to 8GB.
First I thought, the "custom repositories code completion support" might be the issue. So I disabled it, before the opening of my composer.json. But that did not change anything.
Then I deleted the previous project configuration .idea
in that project and started again. Then phpStorm crashed after indexing the files.
Here ist my list of top level packages:
"require": {
"php" : "~7.0.0",
"helhum/class-alias-loader": "1.1.5",
"typo3/cms": "^8.7.0",
"typo3/cms-belog": "^8.7",
"typo3/cms-beuser": "^8.7",
"typo3/cms-context-help": "^8.7",
"typo3/cms-fluid-styled-content": "^8.7",
"typo3/cms-felogin": "^8.7",
"typo3/cms-filelist": "^8.7",
"typo3/cms-impexp": "^8.7",
"typo3/cms-info": "^8.7",
"typo3/cms-info-pagetsconfig": "^8.7",
"typo3/cms-lowlevel": "^8.7",
"typo3/cms-reports": "^8.7",
"typo3/cms-t3editor": "^8.7",
"typo3/cms-linkvalidator": "^8.7",
"typo3/cms-setup": "^8.7",
"typo3/cms-tstemplate": "^8.7",
"typo3/cms-viewpage": "^8.7",
"typo3/cms-recycler": "^8.7",
"dmitryd/typo3-realurl": "2.3.2",
"helhum/typo3-console": "~4.5",
"apache-solr-for-typo3/solr": "^8.1",
"georgringer/news": "~6.0",
"markussom/sitemap-generator": "~1.0",
"bitmotion/secure-downloads": "~2.0",
"gridelementsteam/gridelements": "^8.3.0",
"in2code/facilities": "~1.0",
"in2code/in2mediaserver": "2.0.5",
"in2code/fetchurl": "~3.2.0",
"in2code/in2help": "~4.0",
"in2code/in2videoaudiolist": "~1.0",
"in2code/powermail": "~4.4.0",
"in2code/in2glossar": "~1.0",
"causal/ig_ldap_sso_auth": "~3.2",
"mschwemer/groupdelegation": "~3.0",
"vertexvaar/fal_gallery": "~2.1",
"caretaker/caretaker_instance": "dev-master#e414589",
"in2code/realurlconflicts": "1.0.*",
"ichhabrecht/content-defender": "^2.2",
"apen/additional_reports": "^3.1",
"jbartels/be-acl": "^1.9.0",
"typo3/cms-rte-ckeditor": "^8.7"
},```
Thanks, could you give me top level json keys from composer.json file instead of top level packages? I mean for example: name, version, repositories, require etc.
@DenisMir @mschwemer I reverted code from 1.0.32
- a new version 1.0.33
is electively 1.0.31
. Can you check if the issue is gone in 1.0.33
? Also can you give me top level json keys of composer.json file or whole composer.json file which caused the problem? Full composer.json file would be great - if there are sensitive information you can obfuscate them (eg. package names, versions etc, class / method names etc you can replace by something else), but the whole structure is important. You can send me via email if you like - me@psliwa.org.
I tried to reproduce the problem, analyse the changes introduced in 1.0.32
but without any success, so the quickest temporary fix was to rollback. You can still download corrupted plugin version here: https://plugins.jetbrains.com/files/7631/71285/composer-json-plugin-proguard.zip?updateId=71285&pluginId=7631&family=INTELLIJ, so it would be great if you could help me narrow the problem. Thanks a lot :)
@psliwa Thanks a lot! 1.0.33 works like expected.
I will send the composer.json later on per email.
I was having memory issues too. With current version no more.
Thanks guys! I am able to reproduce the problem using files provided by you.
Version with new bug fixes from 1.0.32 + memory issue fix has been released (1.0.34
).
Hello.
After updating the plugin to 1.0.32 the current latest PHPStrom version is running out of memory as soon as I open up the
composer.json
file.I would love to give you more information. Just drop me a message what you need.
Regards!