-
Notifications
You must be signed in to change notification settings - Fork 24
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Hey @xhulz, thanks for taking care and sending this. Do you know why this is happening all of a sudden? Is it something coming from Truffle upstream? |
Hey @acuarica! Truffle packages have a lot of dependencies, so the extension has grown a lot in size. So, when webpack starts to pack the extension, the machine's memory doesn't stop increasing and when it reaches 95% usage, it ends the process. This is because webpack creates a lot of processes trying to create the source maps. When you come back, I can show you this happening. Another option is to increase the memory of the virtual machine that we are creating inside the Action and keep the source maps. Anyway, we need to think about a solution for this issue. |
Looks good from my side too! As an additional check, I'll do smoke test off the pre-release when it's published to the marketplace 👍 Thanks for the wrangling on this @xhulz! |
Thanks for the detail explanation @xhulz, super helpful! |
* Dedicated tab(s) in VS Code panel (#205) * feat: implementing the new truffle panel log * build: multi tab has been implemented * build: dead code has been removed * build: dispose tab and onview activation has implemented * refactor: main.js has converted to object * docs: ts documentation and code comments has been added * fix: code review resolutions * fix: required.test has been fixed * fix: change gfx (#215) Bryan supplied a revised logo image san's dropshadow. * Remove redundant txns from dialog after a redeploy (#225) fix: the debug transaction dropdown is now showing only the last deployed transaction * New solidity project types has added: empty, sample and unbox a truffle project (#222) * feat: new types of project were added to create a new project * fix: folder projectPath has been vanish out * Networks (Local Instance) - Get More Information (#217) * feat: saving progress * feat: saving the progress * feat: saving the progress * feat: it has been created the option to get details for ganache instances * fix: problems pointed out in the code review have been fixed Co-authored-by: MB <951378+michaeljohnbennett@users.noreply.github.com> * Fix/directory selection flow (#226) * feat: new types of project were added to create a new project * fix: folder projectPath has been vanish out * fix: the directory selection has moved to the end of the flow * fix: truffle box sample project name variable has changed * Dropdown when selecting a box to "unbox" (#220) chore: the textbox has been replaced by a dropdown with the list of boxes * Create an "auto-deploy on save" toggle in the Contract Explorer (#227) * chore: saving the progress * chore: status bar for auto deploy was placed on vscode environment * chore: auto deploy action has been implemented for contracts * fix: remove auto focus from log panel (#233) fix: auto focus from log panel has been removed * Fix: Debug no source file (#229) * fix: truffle compile has been added to gather the artifacts compilation in correct way * fix: drizzle has been removed from truffle boxes list * docs: the typescript docs has been created * fix: typo * fix: pretting missing code * fix: references no longer used have been removed * fix: namespace from contract helpers has been removed * fix: suggestions from code review have been implemented * Spurious closing bracket on "Create sample project" entry when creating a new project (#238) fix: the sample project description text has been fixed * Temporarily continue logging to the Truffle for VS Code output channel (#237) * chore: logging using output channels has been implemented again * fix: auto focus has been removed from log create and log dispose * fix: the focus on output channels has been restaured * fix: minor stylistic tweaks to output tabs (#240) * fix: minor stylistic tweaks to output tabs * fix: output tab accommodations for light(er) modes * Changelog has been updated with new features (#242) * chore: changelog has been updated with new features * fix: text has been changed * Fix: original-require package issues (#243) fix: webpack has been updated to solve the problem with original-require package * Fix: Webpack options (#245) fix: devtool has changed to eval instead source-map Co-authored-by: MB <951378+michaeljohnbennett@users.noreply.github.com> Co-authored-by: Kevin Bluer <kevin@bluer.com>
Hey, related to I've running some benchmarks to see if we can improve performance. In the list below you can see the command and the size of its output, except in the 4th command, which shows an approximation of the Activation time.
On develop
With no
|
Hey @acuarica, Thanks for that :) I've tried to bundling using |
Not yet, but I was wondering about any potential issues we might have when removing |
No, i don't... |
No, so let's see #268 |
Hey, not sure about the source-map, I think it was probably a historical thing, but in reality we don't need it for debugging the packed plugin so if you can get it working to deploy and run without it, do it! 👍🏻 |
PR description
The
devtool
option was changed fromsource-map
toeval
. We know that this may not be the best option, however, the memory of the virtual machines was overflowing due to the large use of resources to generate the code mapping.Documentation
doc-change-required
label to this PR if documentation updates are required.