Jump to content

Stan`

0 A.D. Project Leader
  • Posts

    16.963
  • Joined

  • Last visited

  • Days Won

    520

Stan` last won the day on March 13

Stan` had the most liked content!

About Stan`

Profile Information

  • Gender
    Male

Recent Profile Visitors

21.790 profile views

Stan`'s Achievements

Consul

Consul (13/14)

10k

Reputation

4

Community Answers

  1. @hyperion https://thetechy.life/how-to-enable-huge-pages-windows-10/ you mean the 4kb file ? https://stackoverflow.com/questions/35566176/windows-large-page-support-other-than-2mb Sounds like it needs custom dev to be usable.
  2. I'm not sure that works for 32 bits apps. Basically : - Default 32 bit app : max 2GB of RAM - Large adress aware 32 bit app : max 4GB of ram - 64 bit app I couldn't see any swapping info on the MSDN links https://stackoverflow.com/questions/2222901/memory-allocation-limit-for-a-32-bit-app-on-a-64-bit-system I think there was no popup then. elexis fixed a shitton of OOS in A23b
  3. If you still have it around, it would be interesting to have the 64bit A26 build you made to see if that reduces the issues ? If it's that frequent, it would make it easy to rule it out ^^ Not sure if @vladislavbelov has a usable 64bit build.
  4. Removed the old poll, you can you try again?
  5. Ah it would seem I never updated this file https://trac.wildfiregames.com/browser/ps/trunk/build/jenkins/pipelines/docker-reset.Jenkinsfile /* Copyright (C) 2022 Wildfire Games. * This file is part of 0 A.D. * * 0 A.D. is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 2 of the License, or * (at your option) any later version. * * 0 A.D. is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with 0 A.D. If not, see <http://www.gnu.org/licenses/>. */ // This is a helper pipeline to build Docker images and setup ZFS volumes. pipeline { agent { node { label 'LinuxSlave' customWorkspace '/zpool0/trunk' } } parameters { booleanParam(name: 'no-cache', defaultValue: false, description: 'Rebuild containers from scratch') booleanParam(name: 'reset-volumes', defaultValue: false, description: 'Reset ZFS volumes') } stages { stage("Cleanup") { steps { sh 'docker system prune -f' } } stage("Full Rebuild") { when { environment name: 'no-cache', value: 'true' } steps { sh 'docker build --no-cache -t build-base ~/dockerfiles/build-base' sh 'docker build --no-cache -t 0ad-gcc7 ~/dockerfiles/gcc7' sh 'docker build --no-cache -t 0ad-gcc7-docs ~/dockerfiles/gcc7-docs' sh 'docker build --no-cache -t 0ad-clang8 ~/dockerfiles/clang8' sh 'docker build --no-cache -t 0ad-translations ~/dockerfiles/translations' } } stage("Build") { when { environment name: 'no-cache', value: 'true' } steps { sh 'docker build -t build-base ~/dockerfiles/build-base' sh 'docker build -t 0ad-gcc7 ~/dockerfiles/gcc7' sh 'docker build -t 0ad-gcc7-docs ~/dockerfiles/gcc7-docs' sh 'docker build -t 0ad-clang8 ~/dockerfiles/clang8' sh 'docker build -t 0ad-translations ~/dockerfiles/translations' sh """ docker rmi debian:buster DANGLING_IMAGES="\$(docker images --filter \"\"\"dangling=true\"\"\" -q --no-trunc)" if [ -n "\$DANGLING_IMAGES" ]; then echo "Removing dangling images: \$DANGLING_IMAGES" docker rmi \$(docker images --filter \"\"\"dangling=true\"\"\" -q --no-trunc) echo "Done." else echo "No dangling images found." fi """ } } stage("Update") { steps { sh "svn cleanup 2>/dev/null || true" svn "https://svn.wildfiregames.com/public/ps/trunk" sh "svn st --no-ignore | cut -c 9- | xargs rm -rf" sh "svn revert -R ." } } stage("Volumes") { when { environment name: 'reset-volumes', value: 'true' } steps { sh "sudo zfs destroy -R zpool0/trunk@base || true" sh "sudo zfs destroy -R zpool0/trunk@latest || true" sh "sudo zfs snapshot zpool0/trunk@base" sh "sudo zfs clone zpool0/trunk@base zpool0/gcc7" sh "sudo zfs clone zpool0/trunk@base zpool0/clang8" sh "sudo zfs snapshot zpool0/trunk@latest" sh "sudo zfs snapshot zpool0/clang8@latest" sh "sudo zfs snapshot zpool0/gcc7@latest" } } } } But basically you need to build base, then gcc7 then the docs one. docker build -t build-base build-base.Dockerfile docker build -t 0ad-gcc7 gcc7.Dockerfile docker build -t 0ad-gcc7-docs gcc7-docs.Dockerfile Yeah @Itmsdid some nice engineering there. Basically disk space is sparse on the VM and and cloning is very long, so we saved a lot of time and space.
  6. See https://trac.wildfiregames.com/wiki/Mod_Verification_Process (the mod.json section)
  7. Yeah once you reach 4GB of used RAM for the game, there is nowhere else to write data (Imagine having filled a notebook and the only place left blank is the table but your pen doesn't work on that surface. So at best you manage to find some blank spot in your notebook, or you write over something else and you go OOS. I'm not sure what you can do to minimize RAM usage on windows. Since most games have no AIs they shouldn't be the culprit. Hopefully some bits of code aren't behaving and leaking memory and we can figure it out, if not this just means the simulation is complex and takes that much space. @wraitii or @Itms or @elexis might know more or how to get more info.
  8. Default install path is in %localappdata%/0A.D. Alpha. We don't install it in program files because that requires admin rights.
  9. It's alright In this case this probably means the other went out of memory, so either it got corrupted in a way that was recoverable (hence the oos message) or it wasn't and therefore it crashed.
  10. It seems the game fails to copy some files. Where/how did you install it?
  11. Mmmh. If you replay the game on your machine does it still crash ?
×
×
  • Create New...